aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-05 18:04:36 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-05 18:04:36 +0100
commit26ff639f250a31353bf0b10386311f209f11c0d3 (patch)
treef4c4cc2b2a24ea640fb5302dd7e08d7af4d6f657
parenta812d7dbbb767913fb32109d3def444347f18a61 (diff)
Comment
-rw-r--r--src/Overlay.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index 204f95e..cd8f632 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -827,6 +827,8 @@ namespace gsr {
window_create_params.override_redirect = prevent_game_minimizing;
window_create_params.background_color = bg_color;
window_create_params.support_alpha = 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;
window_create_params.render_api = MGL_RENDER_API_EGL;