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
18f4fb98
Commit
18f4fb98
authored
Apr 14, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Fix the type hint for the desktop window.
parent
9bf9c0b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
window.c
dlls/winex11.drv/window.c
+10
-4
No files found.
dlls/winex11.drv/window.c
View file @
18f4fb98
...
@@ -829,16 +829,22 @@ void X11DRV_set_wm_hints( Display *display, struct x11drv_win_data *data )
...
@@ -829,16 +829,22 @@ void X11DRV_set_wm_hints( Display *display, struct x11drv_win_data *data )
Window
group_leader
;
Window
group_leader
;
Atom
window_type
;
Atom
window_type
;
MwmHints
mwm_hints
;
MwmHints
mwm_hints
;
DWORD
style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_STYLE
);
DWORD
style
,
ex_style
;
DWORD
ex_style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_EXSTYLE
);
HWND
owner
;
HWND
owner
=
GetWindow
(
data
->
hwnd
,
GW_OWNER
);
if
(
data
->
hwnd
==
GetDesktopWindow
())
if
(
data
->
hwnd
==
GetDesktopWindow
())
{
{
/* force some styles for the desktop to get the correct decorations */
/* force some styles for the desktop to get the correct decorations */
style
|=
WS_CAPTION
|
WS_SYSMENU
|
WS_MINIMIZEBOX
;
style
=
WS_POPUP
|
WS_VISIBLE
|
WS_CAPTION
|
WS_SYSMENU
|
WS_MINIMIZEBOX
;
ex_style
=
WS_EX_APPWINDOW
;
owner
=
0
;
owner
=
0
;
}
}
else
{
style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_STYLE
);
ex_style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_EXSTYLE
);
owner
=
GetWindow
(
data
->
hwnd
,
GW_OWNER
);
}
/* transient for hint */
/* transient for hint */
if
(
owner
)
if
(
owner
)
...
...
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