Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4890964e
Commit
4890964e
authored
Aug 29, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Rely on SetWindowPos to invalidate the DCEs when the window region is changed.
parent
f71be05b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
winpos.c
dlls/user32/winpos.c
+2
-4
No files found.
dlls/user32/winpos.c
View file @
4890964e
...
...
@@ -213,14 +213,12 @@ int WINAPI SetWindowRgn( HWND hwnd, HRGN hrgn, BOOL bRedraw )
SERVER_END_REQ
;
}
if
(
ret
)
ret
=
USER_Driver
->
pSetWindowRgn
(
hwnd
,
hrgn
,
bRedraw
);
if
(
ret
)
{
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
);
invalidate_dce
(
hwnd
,
NULL
);
USER_Driver
->
pSetWindowRgn
(
hwnd
,
hrgn
,
bRedraw
);
if
(
hrgn
)
DeleteObject
(
hrgn
);
}
return
ret
;
...
...
@@ -2004,7 +2002,7 @@ BOOL set_window_pos( HWND hwnd, HWND insert_after, UINT swp_flags,
if
(
ret
)
{
if
(((
swp_flags
&
SWP_AGG_NOPOSCHANGE
)
!=
SWP_AGG_NOPOSCHANGE
)
||
(
swp_flags
&
(
SWP_HIDEWINDOW
|
SWP_SHOWWINDOW
|
SWP_STATECHANGED
)))
(
swp_flags
&
(
SWP_HIDEWINDOW
|
SWP_SHOWWINDOW
|
SWP_STATECHANGED
|
SWP_FRAMECHANGED
)))
invalidate_dce
(
hwnd
,
&
old_window_rect
);
USER_Driver
->
pWindowPosChanged
(
hwnd
,
insert_after
,
swp_flags
,
window_rect
,
...
...
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