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
321a1511
Commit
321a1511
authored
May 12, 2016
by
Ken Thomases
Committed by
Alexandre Julliard
May 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Extract some logic into a new function, sync_window_z_order().
Signed-off-by:
Ken Thomases
<
ken@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
225482f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
window.c
dlls/winemac.drv/window.c
+12
-2
No files found.
dlls/winemac.drv/window.c
View file @
321a1511
...
...
@@ -785,6 +785,16 @@ static void hide_window(struct macdrv_win_data *data)
/***********************************************************************
* sync_window_z_order
*/
static
void
sync_window_z_order
(
struct
macdrv_win_data
*
data
)
{
if
(
data
->
on_screen
)
show_window
(
data
);
}
/***********************************************************************
* get_region_data
*
* Calls GetRegionData on the given region and converts the rectangle
...
...
@@ -878,8 +888,8 @@ static void sync_window_position(struct macdrv_win_data *data, UINT swp_flags, c
TRACE
(
"win %p/%p whole_rect %s frame %s
\n
"
,
data
->
hwnd
,
data
->
cocoa_window
,
wine_dbgstr_rect
(
&
data
->
whole_rect
),
wine_dbgstr_cgrect
(
frame
));
if
(
data
->
on_screen
&&
(
!
(
swp_flags
&
SWP_NOZORDER
)
||
(
swp_flags
&
SWP_SHOWWINDOW
)
))
s
how_window
(
data
);
if
(
!
(
swp_flags
&
SWP_NOZORDER
)
||
(
swp_flags
&
SWP_SHOWWINDOW
))
s
ync_window_z_order
(
data
);
}
...
...
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