mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Hide decorations on gnome wayland when opening ui when non-x11 application is focused
This commit is contained in:
@@ -827,6 +827,7 @@ namespace gsr {
|
|||||||
window_create_params.override_redirect = prevent_game_minimizing;
|
window_create_params.override_redirect = prevent_game_minimizing;
|
||||||
window_create_params.background_color = bg_color;
|
window_create_params.background_color = bg_color;
|
||||||
window_create_params.support_alpha = true;
|
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
|
// 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
|
// or may not be visible at all
|
||||||
window_create_params.window_type = MGL_WINDOW_TYPE_DIALOG;
|
window_create_params.window_type = MGL_WINDOW_TYPE_DIALOG;
|
||||||
|
|||||||
Reference in New Issue
Block a user