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
1f99d80c
Commit
1f99d80c
authored
Apr 25, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't force tool windows to unmanaged mode.
The detection algorithm should be good enough for that case now.
parent
242a8a02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
window.c
dlls/winex11.drv/window.c
+3
-5
No files found.
dlls/winex11.drv/window.c
View file @
1f99d80c
...
...
@@ -101,13 +101,8 @@ static BOOL is_window_managed( HWND hwnd, UINT swp_flags, const RECT *window_rec
if
(
hwnd
==
GetActiveWindow
())
return
TRUE
;
/* windows with caption are managed */
if
((
style
&
WS_CAPTION
)
==
WS_CAPTION
)
return
TRUE
;
/* tool windows are not managed */
ex_style
=
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
);
if
(
ex_style
&
WS_EX_TOOLWINDOW
)
return
FALSE
;
/* windows with thick frame are managed */
if
(
style
&
WS_THICKFRAME
)
return
TRUE
;
/* application windows are managed */
if
(
ex_style
&
WS_EX_APPWINDOW
)
return
TRUE
;
if
(
style
&
WS_POPUP
)
{
/* popup with sysmenu == caption are managed */
...
...
@@ -117,6 +112,9 @@ static BOOL is_window_managed( HWND hwnd, UINT swp_flags, const RECT *window_rec
window_rect
->
top
<=
0
&&
window_rect
->
bottom
>=
screen_height
)
return
TRUE
;
}
/* application windows are managed */
ex_style
=
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
);
if
(
ex_style
&
WS_EX_APPWINDOW
)
return
TRUE
;
/* default: not managed */
return
FALSE
;
}
...
...
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