GHOST/Wayland: correct internal error in size initialization

Missing from 9479b49bd3
This commit is contained in:
Campbell Barton 2023-12-15 17:05:15 +11:00
parent c8aecac001
commit bc51f541c2
1 changed files with 2 additions and 7 deletions

View File

@ -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;
}
}
}