Wayland: fix creation of toplevel Fl_Gl_Window
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

This commit is contained in:
ManoloFLTK
2026-03-28 07:27:47 +01:00
parent a681bf5c6a
commit 54303bc4c2
@@ -284,9 +284,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()) {
while (wl_list_empty(&win->outputs)) wl_display_dispatch(fl_wl_display());
}
}
}