From bc51f541c2445b85bbad3836a7499de31bc41b2f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 15 Dec 2023 17:05:15 +1100 Subject: [PATCH] GHOST/Wayland: correct internal error in size initialization Missing from 9479b49bd33882870785aabecc85fdae11c2b28b --- intern/ghost/intern/GHOST_WindowWayland.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/intern/ghost/intern/GHOST_WindowWayland.cc b/intern/ghost/intern/GHOST_WindowWayland.cc index a712838e930..90f450c1d51 100644 --- a/intern/ghost/intern/GHOST_WindowWayland.cc +++ b/intern/ghost/intern/GHOST_WindowWayland.cc @@ -1293,13 +1293,8 @@ static void libdecor_frame_handle_configure(libdecor_frame *frame, } } if (decor.initial_configure_seen_with_size == false) { -# ifdef USE_EVENT_BACKGROUND_THREAD - if (is_main_thread) -# endif - { - if (size_next[0] && size_next[1]) { - decor.initial_configure_seen_with_size = true; - } + if (size_next[0] && size_next[1]) { + decor.initial_configure_seen_with_size = true; } } }