diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-06 15:04:27 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-06 15:04:27 +0100 |
commit | f2544020b3dba84ec71ae3b19ed13721d81ffd17 (patch) | |
tree | b7bd978e6e29505e023372510026d088e0872a66 /src | |
parent | 0c6e2aff07688126dba7d51562036e370ca22596 (diff) |
Hide decorations on gnome wayland when opening ui when non-x11 application is focused
Diffstat (limited to 'src')
-rw-r--r-- | src/Overlay.cpp | 1 |
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; |