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
9ac3bdd8
Commit
9ac3bdd8
authored
Nov 04, 2003
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WM_WINDOWPOSCHANGING should receive original, not fixed values.
parent
f962a792
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
winpos.c
dlls/x11drv/winpos.c
+7
-7
No files found.
dlls/x11drv/winpos.c
View file @
9ac3bdd8
...
...
@@ -894,20 +894,20 @@ BOOL X11DRV_SetWindowPos( WINDOWPOS *winpos )
UINT
wvrFlags
=
0
;
BOOL
bChangePos
;
TRACE
(
"hwnd %p,
swp (%i,%i)-(%i,%i)
flags %08x
\n
"
,
winpos
->
hwnd
,
winpos
->
x
,
winpos
->
y
,
winpos
->
x
+
winpos
->
cx
,
winpos
->
y
+
winpos
->
cy
,
winpos
->
flags
);
TRACE
(
"hwnd %p,
after %p, swp %d,%d %dx%d
flags %08x
\n
"
,
winpos
->
hwnd
,
winpos
->
hwndInsertAfter
,
winpos
->
x
,
winpos
->
y
,
winpos
->
cx
,
winpos
->
cy
,
winpos
->
flags
);
bChangePos
=
!
(
winpos
->
flags
&
SWP_WINE_NOHOSTMOVE
);
winpos
->
flags
&=
~
SWP_WINE_NOHOSTMOVE
;
/* Fix redundant flags */
if
(
!
fixup_flags
(
winpos
))
return
FALSE
;
/* Check window handle */
if
(
winpos
->
hwnd
==
GetDesktopWindow
())
return
FALSE
;
SWP_DoWinPosChanging
(
winpos
,
&
newWindowRect
,
&
newClientRect
);
if
(
!
SWP_DoWinPosChanging
(
winpos
,
&
newWindowRect
,
&
newClientRect
))
return
FALSE
;
/* Fix redundant flags */
if
(
!
fixup_flags
(
winpos
))
return
FALSE
;
if
(
!
(
wndPtr
=
WIN_FindWndPtr
(
winpos
->
hwnd
)))
return
FALSE
;
...
...
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