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
4e23f101
Commit
4e23f101
authored
Jun 14, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do nothing in ShowWindow(SW_SHOW) if a window is already visible.
parent
eb25084e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
winpos.c
dlls/x11drv/winpos.c
+4
-2
No files found.
dlls/x11drv/winpos.c
View file @
4e23f101
...
...
@@ -1276,10 +1276,10 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
if
(
!
wndPtr
)
return
FALSE
;
hwnd
=
wndPtr
->
hwndSelf
;
/* make it a full handle */
TRACE
(
"hwnd=%p, cmd=%d
\n
"
,
hwnd
,
cmd
);
wasVisible
=
(
wndPtr
->
dwStyle
&
WS_VISIBLE
)
!=
0
;
TRACE
(
"hwnd=%p, cmd=%d, wasVisible %d
\n
"
,
hwnd
,
cmd
,
wasVisible
);
switch
(
cmd
)
{
case
SW_HIDE
:
...
...
@@ -1313,6 +1313,8 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
swp
|=
SWP_NOACTIVATE
|
SWP_NOZORDER
;
/* fall through */
case
SW_SHOW
:
if
(
wasVisible
)
goto
END
;
swp
|=
SWP_SHOWWINDOW
|
SWP_NOSIZE
|
SWP_NOMOVE
;
/*
...
...
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