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
e5ef460d
Commit
e5ef460d
authored
Dec 09, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Preserve the surface contents when changing the WS_EX_LAYERED bit.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2e56a912
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
win.c
dlls/user32/win.c
+4
-2
No files found.
dlls/user32/win.c
View file @
e5ef460d
...
@@ -438,11 +438,13 @@ static void send_parent_notify( HWND hwnd, UINT msg )
...
@@ -438,11 +438,13 @@ static void send_parent_notify( HWND hwnd, UINT msg )
*/
*/
static
void
update_window_state
(
HWND
hwnd
)
static
void
update_window_state
(
HWND
hwnd
)
{
{
RECT
window_rect
,
client_rect
;
RECT
window_rect
,
client_rect
,
valid_rects
[
2
]
;
WIN_GetRectangles
(
hwnd
,
COORDS_PARENT
,
&
window_rect
,
&
client_rect
);
WIN_GetRectangles
(
hwnd
,
COORDS_PARENT
,
&
window_rect
,
&
client_rect
);
valid_rects
[
0
]
=
valid_rects
[
1
]
=
client_rect
;
set_window_pos
(
hwnd
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
|
set_window_pos
(
hwnd
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
|
SWP_NOZORDER
|
SWP_NOACTIVATE
|
SWP_NOREDRAW
,
&
window_rect
,
&
client_rect
,
NULL
);
SWP_NOZORDER
|
SWP_NOACTIVATE
|
SWP_NOREDRAW
,
&
window_rect
,
&
client_rect
,
valid_rects
);
}
}
...
...
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