win32u: Skip detached monitors in is_window_rect_full_screen().
commit00ae070cd172e827892541f8519e3c6942daf8d2
authorZhiyi Zhang <zzhang@codeweavers.com>
Wed, 2 Nov 2022 09:22:06 +0000 (2 17:22 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 2 Nov 2022 15:00:22 +0000 (2 16:00 +0100)
treef33ed74f58b534efca16e3f3e6fa834ac60a3ab1
parent5d21966b9f16b301272d0f95dbe4939d1d9f6823
win32u: Skip detached monitors in is_window_rect_full_screen().

Fix a regression from ee405dd. After ee405dd, is_window_rect_full_screen() may compare window
rectangles against the empty rectangles of detached monitors. For example, is_window_rect_full_screen()
can incorrectly return TRUE for a (0, 0, 1, 1) rectangle because 0 <= 0 && 1 >= 0 && 0 <= 0 && 1 >= 0
is true.
dlls/win32u/sysparams.c