Revert "core: Avoid setting up frames on fullscreen windows"

This caused feedback loops with old statically compiled SDL
applications. The bug is fixed in upstream SDL, but that doesn't help
when the executables have old SDL's built into them.

This reverts commit beeeea546b.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2678
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2921>
This commit is contained in:
Jonas Ådahl
2023-03-17 19:25:14 +01:00
committed by Marge Bot
parent 0ed2503140
commit 08bdee58c9
3 changed files with 7 additions and 17 deletions

View File

@@ -562,7 +562,7 @@ meta_window_x11_manage (MetaWindow *window)
if (!window->override_redirect)
update_sm_hints (window); /* must come after transient_for */
if (window->decorated && !window->fullscreen)
if (window->decorated)
meta_window_ensure_frame (window);
else
meta_window_x11_initialize_state (window);