From f2544020b3dba84ec71ae3b19ed13721d81ffd17 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 6 Jan 2025 15:04:27 +0100 Subject: Hide decorations on gnome wayland when opening ui when non-x11 application is focused --- src/Overlay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Overlay.cpp b/src/Overlay.cpp index cd8f632..732b0a4 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -827,6 +827,7 @@ namespace gsr { window_create_params.override_redirect = prevent_game_minimizing; window_create_params.background_color = bg_color; window_create_params.support_alpha = true; + window_create_params.hide_decorations = true; // MGL_WINDOW_TYPE_DIALOG is needed for kde plasma wayland in some cases, otherwise the window will pop up on another activity // or may not be visible at all window_create_params.window_type = MGL_WINDOW_TYPE_DIALOG; -- cgit v1.2.3