aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-06 15:04:27 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-06 15:04:27 +0100
commitf2544020b3dba84ec71ae3b19ed13721d81ffd17 (patch)
treeb7bd978e6e29505e023372510026d088e0872a66 /src
parent0c6e2aff07688126dba7d51562036e370ca22596 (diff)
Hide decorations on gnome wayland when opening ui when non-x11 application is focused
Diffstat (limited to 'src')
-rw-r--r--src/Overlay.cpp1
1 files changed, 1 insertions, 0 deletions
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;