aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-25 18:40:15 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-25 18:40:15 +0100
commit99acbdb59617460e29acd708b96de2f1f1fb4f88 (patch)
tree20a4feb3ea025249e5d6b5ba8665da78467f2bf4 /src
parentef7eb26ea5ff807258cf504ee9b66435b0d680f4 (diff)
Fix keyboard input not working on wayland
Diffstat (limited to 'src')
-rw-r--r--src/Overlay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index 2475a77..f19e460 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -471,10 +471,10 @@ namespace gsr {
window_create_params.max_size = window_size;
window_create_params.position = window_pos;
window_create_params.hidden = true;
- window_create_params.override_redirect = true;
+ window_create_params.override_redirect = false;
window_create_params.background_color = bg_color;
window_create_params.support_alpha = true;
- window_create_params.window_type = MGL_WINDOW_TYPE_NOTIFICATION;
+ window_create_params.window_type = MGL_WINDOW_TYPE_NORMAL;
window_create_params.render_api = MGL_RENDER_API_EGL;
if(!window->create("gsr ui", window_create_params))
@@ -663,7 +663,7 @@ namespace gsr {
set_focused_window(display, window->get_system_handle());
XFlush(display);
- //window->set_fullscreen(true);
+ window->set_fullscreen(true);
visible = true;