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
a37a2fa4
Commit
a37a2fa4
authored
Aug 21, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Update the wm hints also when mapping a previously zero-size window.
parent
1476e346
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
winpos.c
dlls/winex11.drv/winpos.c
+6
-7
No files found.
dlls/winex11.drv/winpos.c
View file @
a37a2fa4
...
...
@@ -397,23 +397,22 @@ BOOL X11DRV_SetWindowPos( HWND hwnd, HWND insert_after, const RECT *rectWindow,
{
/* window got shown, map it */
TRACE
(
"mapping win %p
\n
"
,
hwnd
);
X11DRV_sync_window_style
(
display
,
data
);
X11DRV_set_wm_hints
(
display
,
data
);
wine_tsx11_lock
();
XMapWindow
(
display
,
data
->
whole_window
);
XFlush
(
display
);
wine_tsx11_unlock
();
mapped
=
TRUE
;
}
else
if
((
swp_flags
&
(
SWP_NOSIZE
|
SWP_NOMOVE
))
!=
(
SWP_NOSIZE
|
SWP_NOMOVE
))
{
/* resizing from zero size to non-zero -> map */
TRACE
(
"mapping non zero size or off-screen win %p
\n
"
,
hwnd
);
mapped
=
TRUE
;
}
if
(
mapped
)
{
X11DRV_sync_window_style
(
display
,
data
);
X11DRV_set_wm_hints
(
display
,
data
);
wine_tsx11_lock
();
XMapWindow
(
display
,
data
->
whole_window
);
XFlush
(
display
);
wine_tsx11_unlock
();
mapped
=
TRUE
;
}
SetRect
(
&
old_screen_rect
,
0
,
0
,
screen_width
,
screen_height
);
if
(
fullscreen_state_changed
(
data
,
&
old_client_rect
,
&
old_screen_rect
,
&
new_fs_state
)
||
mapped
)
...
...
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