From e581f50e9aa39be7bf7fec5c1235f0ff0b362d01 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 10 Jul 2025 08:18:35 +0200 Subject: Wayland: account for new Wayfire compositor - cont'd --- src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers') 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, ®istry_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, -- cgit v1.2.3