Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c6e61fbf
Commit
c6e61fbf
authored
Feb 13, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Feb 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix a message test that would only pass on wine.
parent
331bac4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
msg.c
dlls/user32/tests/msg.c
+1
-1
winpos.c
dlls/user32/winpos.c
+1
-2
No files found.
dlls/user32/tests/msg.c
View file @
c6e61fbf
...
...
@@ -8936,7 +8936,7 @@ static const struct message WmSetWindowRgn_no_redraw[] = {
};
static
const
struct
message
WmSetWindowRgn_clear
[]
=
{
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOACTIVATE
|
SWP_FRAMECHANGED
|
SWP_NOSIZE
|
SWP_NOMOVE
},
/* some versions of 2000/XP also has SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE in wparam */
{
WM_WINDOWPOSCHANGING
,
sent
|
wparam
,
SWP_NOACTIVATE
|
SWP_FRAMECHANGED
|
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
},
{
WM_NCCALCSIZE
,
sent
|
wparam
,
1
},
{
WM_NCPAINT
,
sent
},
/* wparam != 1 */
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
...
...
dlls/user32/winpos.c
View file @
c6e61fbf
...
...
@@ -273,8 +273,7 @@ int WINAPI SetWindowRgn( HWND hwnd, HRGN hrgn, BOOL bRedraw )
if
(
ret
)
{
UINT
swp_flags
=
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOZORDER
|
SWP_NOACTIVATE
|
SWP_FRAMECHANGED
;
if
(
hrgn
)
swp_flags
|=
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
;
UINT
swp_flags
=
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOZORDER
|
SWP_NOACTIVATE
|
SWP_FRAMECHANGED
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
;
if
(
!
bRedraw
)
swp_flags
|=
SWP_NOREDRAW
;
SetWindowPos
(
hwnd
,
0
,
0
,
0
,
0
,
0
,
swp_flags
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment