diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-05-25 18:37:43 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-05-25 18:37:43 +0200 |
| commit | 7fcd4b73d700d04b2bb6a758bd542c324a6e2aed (patch) | |
| tree | 92f9630f3e2dbb060054afe145bae9c913da43b5 /src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | |
| parent | a118732f7c10da03196ebd9207007686163114f4 (diff) | |
Wayland platform: more accurate procedure to map a GL (sub)window.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |
