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
45f69f73
Commit
45f69f73
authored
Mar 02, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Do not check for WM_MOVE in sc_maximize_messages.
parent
c78cd3f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
device.c
dlls/d3d8/tests/device.c
+14
-1
No files found.
dlls/d3d8/tests/device.c
View file @
45f69f73
...
...
@@ -2973,7 +2973,20 @@ static void test_wndproc(void)
{
WM_SYSCOMMAND
,
FOCUS_WINDOW
,
TRUE
,
SC_MAXIMIZE
},
{
WM_WINDOWPOSCHANGING
,
FOCUS_WINDOW
,
FALSE
,
0
},
{
WM_WINDOWPOSCHANGED
,
FOCUS_WINDOW
,
FALSE
,
0
},
{
WM_MOVE
,
FOCUS_WINDOW
,
FALSE
,
0
},
/* Windows always sends WM_MOVE here.
*
* In the first case, we are maximizing from a minimized state, and
* hence the client rect moves from the minimized position to (0, 0).
*
* In the second case, we are maximizing from an on-screen restored
* state. The window is at (0, 0), but it has a caption, so the client
* rect is offset, and the *client* will move to (0, 0) when maximized.
*
* Wine doesn't send WM_MOVE here because it messes with the window
* styles when switching to fullscreen, and hence the client rect is
* already at (0, 0). Obviously Wine shouldn't do this, but it's hard to
* fix, and the WM_MOVE is not particularly interesting, so just ignore
* it. */
{
WM_SIZE
,
FOCUS_WINDOW
,
TRUE
,
SIZE_MAXIMIZED
},
{
0
,
0
,
FALSE
,
0
},
};
...
...
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