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
1561fa41
Commit
1561fa41
authored
Feb 18, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Feb 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Call sync_window_position() before show_window() since window frame…
winemac: Call sync_window_position() before show_window() since window frame affects whether it shows.
parent
abb0161c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
window.c
dlls/winemac.drv/window.c
+11
-11
No files found.
dlls/winemac.drv/window.c
View file @
1561fa41
...
...
@@ -1369,17 +1369,6 @@ void CDECL macdrv_WindowPosChanged(HWND hwnd, HWND insert_after, UINT swp_flags,
hide_window
(
data
);
}
if
(
new_style
&
WS_VISIBLE
)
{
if
(
!
data
->
on_screen
||
(
swp_flags
&
(
SWP_FRAMECHANGED
|
SWP_STATECHANGED
)))
set_cocoa_window_properties
(
data
);
/* layered windows are not shown until their attributes are set */
if
(
!
data
->
on_screen
&&
(
data
->
layered
||
!
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_LAYERED
)))
show_window
(
data
);
}
/* check if we are currently processing an event relevant to this window */
if
(
!
thread_data
||
!
thread_data
->
current_event
||
thread_data
->
current_event
->
window
!=
data
->
cocoa_window
||
...
...
@@ -1391,6 +1380,17 @@ void CDECL macdrv_WindowPosChanged(HWND hwnd, HWND insert_after, UINT swp_flags,
set_cocoa_window_properties
(
data
);
}
if
(
new_style
&
WS_VISIBLE
)
{
if
(
!
data
->
on_screen
||
(
swp_flags
&
(
SWP_FRAMECHANGED
|
SWP_STATECHANGED
)))
set_cocoa_window_properties
(
data
);
/* layered windows are not shown until their attributes are set */
if
(
!
data
->
on_screen
&&
(
data
->
layered
||
!
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_LAYERED
)))
show_window
(
data
);
}
done:
release_win_data
(
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