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
6afecf22
Commit
6afecf22
authored
Jun 25, 2016
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Don't assume that owner is top-level window in set_style_hints.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a04c393a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
window.c
dlls/winex11.drv/window.c
+7
-1
No files found.
dlls/winex11.drv/window.c
View file @
6afecf22
...
...
@@ -748,10 +748,16 @@ static void set_style_hints( struct x11drv_win_data *data, DWORD style, DWORD ex
{
Window
group_leader
=
data
->
whole_window
;
HWND
owner
=
GetWindow
(
data
->
hwnd
,
GW_OWNER
);
Window
owner_win
=
X11DRV_get_whole_window
(
owner
)
;
Window
owner_win
=
0
;
XWMHints
*
wm_hints
;
Atom
window_type
;
if
(
owner
)
{
owner
=
GetAncestor
(
owner
,
GA_ROOT
);
owner_win
=
X11DRV_get_whole_window
(
owner
);
}
if
(
owner_win
)
{
XSetTransientForHint
(
data
->
display
,
data
->
whole_window
,
owner_win
);
...
...
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