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
b9001f34
Commit
b9001f34
authored
Apr 08, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 08, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert an erroneous patch.
parent
b53f8786
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
winpos.c
dlls/x11drv/winpos.c
+8
-11
No files found.
dlls/x11drv/winpos.c
View file @
b9001f34
...
...
@@ -553,16 +553,6 @@ static BOOL SWP_DoWinPosChanging( WINDOWPOS* pWinpos, RECT* pNewWindowRect, RECT
{
WND
*
wndPtr
;
if
(
pWinpos
->
flags
&
(
SWP_SHOWWINDOW
|
SWP_HIDEWINDOW
))
{
BOOL
wasVisible
,
showFlag
;
wasVisible
=
(
GetWindowLongW
(
pWinpos
->
hwnd
,
GWL_STYLE
)
&
WS_VISIBLE
)
!=
0
;
showFlag
=
!
(
pWinpos
->
flags
&
SWP_HIDEWINDOW
);
if
(
showFlag
!=
wasVisible
)
SendMessageW
(
pWinpos
->
hwnd
,
WM_SHOWWINDOW
,
showFlag
,
0
);
}
/* Send WM_WINDOWPOSCHANGING message */
if
(
!
(
pWinpos
->
flags
&
SWP_NOSENDCHANGING
))
...
...
@@ -1275,7 +1265,7 @@ UINT WINPOS_MinMaximize( HWND hwnd, UINT cmd, LPRECT rect )
BOOL
X11DRV_ShowWindow
(
HWND
hwnd
,
INT
cmd
)
{
WND
*
wndPtr
=
WIN_FindWndPtr
(
hwnd
);
BOOL
wasVisible
;
BOOL
wasVisible
,
showFlag
;
RECT
newPos
=
{
0
,
0
,
0
,
0
};
UINT
swp
=
0
;
...
...
@@ -1344,6 +1334,13 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
break
;
}
showFlag
=
(
cmd
!=
SW_HIDE
);
if
(
showFlag
!=
wasVisible
)
{
SendMessageW
(
hwnd
,
WM_SHOWWINDOW
,
showFlag
,
0
);
if
(
!
IsWindow
(
hwnd
))
goto
END
;
}
/* We can't activate a child window */
if
((
wndPtr
->
dwStyle
&
WS_CHILD
)
&&
!
(
wndPtr
->
dwExStyle
&
WS_EX_MDICHILD
))
...
...
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