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
b6ef8a59
Commit
b6ef8a59
authored
Mar 20, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't make the owner window managed if its popup isn't.
parent
03642414
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
window.c
dlls/winex11.drv/window.c
+3
-3
No files found.
dlls/winex11.drv/window.c
View file @
b6ef8a59
...
...
@@ -997,7 +997,7 @@ static void set_initial_wm_hints( Display *display, struct x11drv_win_data *data
*
* Retrieve an owner's window, creating it if necessary.
*/
static
Window
get_owner_whole_window
(
HWND
owner
)
static
Window
get_owner_whole_window
(
HWND
owner
,
BOOL
force_managed
)
{
struct
x11drv_win_data
*
data
;
...
...
@@ -1009,7 +1009,7 @@ static Window get_owner_whole_window( HWND owner )
!
(
data
=
X11DRV_create_win_data
(
owner
)))
return
(
Window
)
GetPropA
(
owner
,
whole_window_prop
);
}
else
if
(
!
data
->
managed
)
/* make it managed */
else
if
(
!
data
->
managed
&&
force_managed
)
/* make it managed */
{
SetWindowPos
(
owner
,
0
,
0
,
0
,
0
,
0
,
SWP_NOACTIVATE
|
SWP_NOZORDER
|
SWP_NOSIZE
|
SWP_NOMOVE
|
...
...
@@ -1045,7 +1045,7 @@ static void set_wm_hints( Display *display, struct x11drv_win_data *data )
style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_STYLE
);
ex_style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_EXSTYLE
);
owner
=
get_window_owner
(
data
->
hwnd
);
if
((
owner_win
=
get_owner_whole_window
(
owner
)))
group_leader
=
owner_win
;
if
((
owner_win
=
get_owner_whole_window
(
owner
,
data
->
managed
)))
group_leader
=
owner_win
;
}
wine_tsx11_lock
();
...
...
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