summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-07-10 08:18:35 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-07-10 08:18:35 +0200
commite581f50e9aa39be7bf7fec5c1235f0ff0b362d01 (patch)
treec6d8b07269c00a1bc08788cf471ea02dcb75a3ea /src/drivers/Wayland
parent83565dd880a9fcd7d6b974622ccd86dc39b764f7 (diff)
Wayland: account for new Wayfire compositor - cont'd
Diffstat (limited to 'src/drivers/Wayland')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index 7c01a6b8b..1d1f4f10a 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
@@ -1426,7 +1426,7 @@ void Fl_Wayland_Screen_Driver::open_display_platform() {
struct wl_callback *registry_cb = wl_display_sync(wl_display);
wl_callback_add_listener(registry_cb, &sync_listener, &registry_cb);
while (registry_cb) wl_display_dispatch(wl_display);
- if (pair.found_gtk_shell) {
+ if (pair.found_gtk_shell || pair.found_wf_shell) {
Fl_Wayland_Screen_Driver::compositor = (pair.found_wf_shell ? WAYFIRE : MUTTER);
}
Fl::add_fd(wl_display_get_fd(wl_display), FL_READ, (Fl_FD_Handler)wayland_socket_callback,