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()); - } } }