GHOST/Wayland: disable assert which can happen during debugging

This commit is contained in:
Campbell Barton 2023-10-10 11:02:35 +11:00
parent 976eaae02f
commit 951ae52912
1 changed files with 3 additions and 1 deletions

View File

@ -809,7 +809,9 @@ static void gwl_window_frame_update_from_pending_no_lock(GWL_Window *win)
win->ghost_window->deactivate();
}
}
else {
else if (false) {
/* Disabled, this can happen during debugging
* when the window changed while the process has been paused. */
GHOST_ASSERT(
win->frame.is_active ==
(win->ghost_system->getWindowManager()->getActiveWindow() == win->ghost_window),