mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 15:33:38 +00:00
ddraw/tests: Do not create a fullscreen test window in test_window_position_cb().
Some window managers have trouble moving fullscreen windows to another monitor. For example, KWin doesn't allow moving windows with _NET_WM_STATE_FULLSCREEN set. FVWM used by TestBots keeps the size for fullscreen windows after they are moved to another monitor and when the window is also fullscreen on the new monitor, which could be a bug in FVWM. But let's work around this in the tests as well. The changed tests don't need created windows being fullscreen at the start. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54172
This commit is contained in:
parent
a5cc9c9d44
commit
36afabb9c1
|
@ -14457,8 +14457,7 @@ static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *mo
|
|||
ddraw = create_ddraw();
|
||||
ok(!!ddraw, "Failed to create a ddraw object.\n");
|
||||
window = CreateWindowA("static", "ddraw_test", WS_POPUP | WS_VISIBLE, monitor_rect->left,
|
||||
monitor_rect->top, monitor_rect->right - monitor_rect->left,
|
||||
monitor_rect->bottom - monitor_rect->top, NULL, NULL, NULL, NULL);
|
||||
monitor_rect->top, 100, 100, NULL, NULL, NULL, NULL);
|
||||
ok(!!window, "Failed to create a window.\n");
|
||||
flush_events();
|
||||
|
||||
|
|
|
@ -15371,8 +15371,7 @@ static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *mo
|
|||
ddraw = create_ddraw();
|
||||
ok(!!ddraw, "Failed to create a ddraw object.\n");
|
||||
window = CreateWindowA("static", "ddraw_test", WS_POPUP | WS_VISIBLE, monitor_rect->left,
|
||||
monitor_rect->top, monitor_rect->right - monitor_rect->left,
|
||||
monitor_rect->bottom - monitor_rect->top, NULL, NULL, NULL, NULL);
|
||||
monitor_rect->top, 100, 100, NULL, NULL, NULL, NULL);
|
||||
ok(!!window, "Failed to create a window.\n");
|
||||
flush_events();
|
||||
|
||||
|
|
|
@ -18421,8 +18421,7 @@ static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *mo
|
|||
ddraw = create_ddraw();
|
||||
ok(!!ddraw, "Failed to create a ddraw object.\n");
|
||||
window = CreateWindowA("static", "ddraw_test", WS_POPUP | WS_VISIBLE, monitor_rect->left,
|
||||
monitor_rect->top, monitor_rect->right - monitor_rect->left,
|
||||
monitor_rect->bottom - monitor_rect->top, NULL, NULL, NULL, NULL);
|
||||
monitor_rect->top, 100, 100, NULL, NULL, NULL, NULL);
|
||||
ok(!!window, "Failed to create a window.\n");
|
||||
flush_events();
|
||||
|
||||
|
|
|
@ -18688,8 +18688,7 @@ static BOOL CALLBACK test_window_position_cb(HMONITOR monitor, HDC hdc, RECT *mo
|
|||
ddraw = create_ddraw();
|
||||
ok(!!ddraw, "Failed to create a ddraw object.\n");
|
||||
window = CreateWindowA("static", "ddraw_test", WS_POPUP | WS_VISIBLE, monitor_rect->left,
|
||||
monitor_rect->top, monitor_rect->right - monitor_rect->left,
|
||||
monitor_rect->bottom - monitor_rect->top, NULL, NULL, NULL, NULL);
|
||||
monitor_rect->top, 100, 100, NULL, NULL, NULL, NULL);
|
||||
ok(!!window, "Failed to create a window.\n");
|
||||
flush_events();
|
||||
|
||||
|
|
Loading…
Reference in a new issue