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
453b3243
Commit
453b3243
authored
Jun 24, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Map top-level windows when WS_VISIBLE is set, but don't unmap them
when it's cleared.
parent
717e8f45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
winpos.c
dlls/x11drv/winpos.c
+7
-2
No files found.
dlls/x11drv/winpos.c
View file @
453b3243
...
...
@@ -839,14 +839,19 @@ void X11DRV_SetWindowStyle( HWND hwnd, LONG oldStyle )
if
(
changed
&
WS_VISIBLE
)
{
if
(
!
IsRectEmpty
(
&
wndPtr
->
rectWindow
)
&&
!
is_window_top_level
(
wndPtr
)
)
if
(
!
IsRectEmpty
(
&
wndPtr
->
rectWindow
))
{
if
(
wndPtr
->
dwStyle
&
WS_VISIBLE
)
{
TRACE
(
"mapping win %p
\n
"
,
hwnd
);
if
(
is_window_top_level
(
wndPtr
))
{
X11DRV_sync_window_style
(
display
,
wndPtr
);
X11DRV_set_wm_hints
(
display
,
wndPtr
);
}
TSXMapWindow
(
display
,
get_whole_window
(
wndPtr
)
);
}
else
else
if
(
!
is_window_top_level
(
wndPtr
))
/* don't unmap managed windows */
{
TRACE
(
"unmapping win %p
\n
"
,
hwnd
);
TSXUnmapWindow
(
display
,
get_whole_window
(
wndPtr
)
);
...
...
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