blender/intern/ghost/test/multitest
Campbell Barton 41d62f36d5 Fix uninitialized variable use accessing the screen size under Wayland
It's possible for there to be no outputs under Wayland
(when unplugging monitors for e.g.) so this must be accounted for.

Also avoid calculating the window position when the GHOST backend
doesn't support window positions (which is the case for Wayland).

Add checks for the SDL backend too, where accessing the
screen & desktop size may fail.
2023-10-03 15:40:58 +11:00
..
Basic.c License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
Basic.h License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
EventToBuf.c License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
EventToBuf.h License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
GL.h License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
MultiTest.c Fix uninitialized variable use accessing the screen size under Wayland 2023-10-03 15:40:58 +11:00
ScrollBar.c License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
ScrollBar.h License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
stubs.c License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
Util.c License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
Util.h License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
WindowData.c License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
WindowData.h License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00