aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;