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
d530e548
Commit
d530e548
authored
Jun 23, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 23, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WM_WINDOWPOSCHANGED should always contain a final window position.
parent
e8d86b7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
winpos.c
dlls/x11drv/winpos.c
+10
-2
No files found.
dlls/x11drv/winpos.c
View file @
d530e548
...
...
@@ -1027,8 +1027,16 @@ BOOL X11DRV_SetWindowPos( WINDOWPOS *winpos )
TRACE
(
"
\t
status flags = %04x
\n
"
,
winpos
->
flags
&
SWP_AGG_STATUSFLAGS
);
if
(((
winpos
->
flags
&
SWP_AGG_STATUSFLAGS
)
!=
SWP_AGG_NOPOSCHANGE
))
SendMessageA
(
winpos
->
hwnd
,
WM_WINDOWPOSCHANGED
,
0
,
(
LPARAM
)
winpos
);
/* WM_WINDOWPOSCHANGED is send even if SWP_NOSENDCHANGING is set */
{
/* WM_WINDOWPOSCHANGED is sent even if SWP_NOSENDCHANGING is set
and always contains final window position.
*/
winpos
->
x
=
newWindowRect
.
left
;
winpos
->
y
=
newWindowRect
.
top
;
winpos
->
cx
=
newWindowRect
.
right
-
newWindowRect
.
left
;
winpos
->
cy
=
newWindowRect
.
bottom
-
newWindowRect
.
top
;
SendMessageW
(
winpos
->
hwnd
,
WM_WINDOWPOSCHANGED
,
0
,
(
LPARAM
)
winpos
);
}
return
TRUE
;
}
...
...
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