summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-05-11 19:52:00 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-05-11 19:52:00 +0200
commitef33f3e0e2dac2087a4d3096146eb0c628a3a326 (patch)
tree12f93151fa0fa2d9abee0166ed51ae3391d6da0f /src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
parente9feef99fab53052b3c9a12c8e1911405a8de9e8 (diff)
Wayland: call gtk_surface1_set_modal() of GTK Shell protocol for modal wins
This has the Mutter compositor open modal windows at the center of their parent window rather than at an unpredictable display position before this commit.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
index 9df903da5..e2535cfb4 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
@@ -63,6 +63,7 @@ public:
struct xkb_compose_state *xkb_compose_state;
char *name;
struct zwp_text_input_v3 *text_input;
+ struct gtk_shell1 *gtk_shell;
};
struct output { // one record for each screen
uint32_t id;