From 578b91d490bf37f2a3a5586b62bb78529fde60de Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 28 Mar 2026 07:25:34 +0100 Subject: [PATCH] Wayland: fix creation of toplevel Fl_Gl_Window --- src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx index f782b744a..9285d3a15 100644 --- a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx @@ -289,9 +289,6 @@ void Fl_Wayland_Gl_Window_Driver::make_current_before() { // Tested apps: shape, glpuzzle, cube, fractals, gl_overlay, fullscreen, unittests, // OpenGL3-glut-test, OpenGL3test. // Tested wayland compositors: mutter, kde-plasma, weston, sway on FreeBSD. - if (!pWindow->parent()) { // force toplevel GL win to enter its display - while (wl_list_empty(&win->outputs)) wl_display_dispatch(fl_wl_display()); - } } }