ddraw/tests: Do not create a fullscreen test window in test_window_position_cb().
commit36afabb9c1aa73ea6aeab4af627327ce1a712b2a
authorZhiyi Zhang <zzhang@codeweavers.com>
Wed, 11 Jan 2023 02:08:22 +0000 (11 10:08 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 11 Jan 2023 19:32:07 +0000 (11 20:32 +0100)
treee346140e09d1fd4df6b1fdc5488ee0e02ce71c28
parenta5cc9c9d44e7979bd9170fbdece4fa787a0365be
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
dlls/ddraw/tests/ddraw1.c
dlls/ddraw/tests/ddraw2.c
dlls/ddraw/tests/ddraw4.c
dlls/ddraw/tests/ddraw7.c