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
8b84d640
Commit
8b84d640
authored
May 28, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Set window style to normal for windows with a minimize box.
Some window managers don't allow minimizing dialog windows.
parent
c58eff62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
window.c
dlls/winex11.drv/window.c
+1
-0
No files found.
dlls/winex11.drv/window.c
View file @
8b84d640
...
...
@@ -1181,6 +1181,7 @@ static void set_wm_hints( Display *display, struct x11drv_win_data *data )
/* set the WM_WINDOW_TYPE */
if
(
style
&
WS_THICKFRAME
)
window_type
=
x11drv_atom
(
_NET_WM_WINDOW_TYPE_NORMAL
);
else
if
(
ex_style
&
WS_EX_APPWINDOW
)
window_type
=
x11drv_atom
(
_NET_WM_WINDOW_TYPE_NORMAL
);
else
if
(
style
&
WS_MINIMIZEBOX
)
window_type
=
x11drv_atom
(
_NET_WM_WINDOW_TYPE_NORMAL
);
else
if
(
style
&
WS_DLGFRAME
)
window_type
=
x11drv_atom
(
_NET_WM_WINDOW_TYPE_DIALOG
);
else
if
(
ex_style
&
WS_EX_DLGMODALFRAME
)
window_type
=
x11drv_atom
(
_NET_WM_WINDOW_TYPE_DIALOG
);
else
if
((
style
&
WS_POPUP
)
&&
owner
)
window_type
=
x11drv_atom
(
_NET_WM_WINDOW_TYPE_DIALOG
);
...
...
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