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
6a23bd88
Commit
6a23bd88
authored
Jan 18, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Set the initial icon hints in set_initial_wm_hints().
parent
3471f841
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
window.c
dlls/winex11.drv/window.c
+9
-7
No files found.
dlls/winex11.drv/window.c
View file @
6a23bd88
...
...
@@ -774,6 +774,12 @@ static void set_initial_wm_hints( Display *display, struct x11drv_win_data *data
XA_ATOM
,
32
,
PropModeReplace
,
(
unsigned
char
*
)
&
dndVersion
,
1
);
wine_tsx11_unlock
();
if
(
data
->
wm_hints
)
{
data
->
wm_hints
->
flags
=
0
;
set_icon_hints
(
display
,
data
,
(
HICON
)
GetClassLongPtrW
(
data
->
hwnd
,
GCLP_HICON
)
);
}
}
...
...
@@ -837,21 +843,17 @@ void X11DRV_set_wm_hints( Display *display, struct x11drv_win_data *data )
x11drv_atom
(
_MOTIF_WM_HINTS
),
32
,
PropModeReplace
,
(
unsigned
char
*
)
&
mwm_hints
,
sizeof
(
mwm_hints
)
/
sizeof
(
long
)
);
wine_tsx11_unlock
();
/* wm hints */
if
(
data
->
wm_hints
)
{
data
->
wm_hints
->
flags
=
InputHint
|
StateHint
|
WindowGroupHint
;
data
->
wm_hints
->
flags
|
=
InputHint
|
StateHint
|
WindowGroupHint
;
data
->
wm_hints
->
input
=
!
(
style
&
WS_DISABLED
);
data
->
wm_hints
->
initial_state
=
(
style
&
WS_MINIMIZE
)
?
IconicState
:
NormalState
;
data
->
wm_hints
->
window_group
=
group_leader
;
set_icon_hints
(
display
,
data
,
(
HICON
)
GetClassLongPtrW
(
data
->
hwnd
,
GCLP_HICON
)
);
wine_tsx11_lock
();
XSetWMHints
(
display
,
data
->
whole_window
,
data
->
wm_hints
);
wine_tsx11_unlock
();
}
wine_tsx11_unlock
();
}
...
...
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