From 7fcd4b73d700d04b2bb6a758bd542c324a6e2aed Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 25 May 2022 18:37:43 +0200 Subject: Wayland platform: more accurate procedure to map a GL (sub)window. --- src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx') diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index e7622d67d..4a1cd1bc4 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -1090,9 +1090,9 @@ void Fl_Wayland_Screen_Driver::open_display_platform() { if (!has_xrgb) { Fl::fatal("Error: no WL_SHM_FORMAT_ARGB8888 shm format\n"); } - if (compositor == Fl_Wayland_Screen_Driver::unspecified) { + /*if (compositor == Fl_Wayland_Screen_Driver::unspecified) { Fl::warning("FLTK could not identify the type of the running Wayland compositor"); - } + }*/ Fl::add_fd(wl_display_get_fd(wl_display), FL_READ, (Fl_FD_Handler)fd_callback, wl_display); fl_create_print_window(); } -- cgit v1.2.3