summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-03-09 17:41:37 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-03-09 17:41:37 +0100
commit25276320543170480711ee5e9c2e03d4fd7cc2d1 (patch)
tree2cbc964a0010bcc84082880cce1e73ddd610a735 /src/drivers
parent5175192755e57d1d7016253d48f34f9d0c2c0832 (diff)
Fix gl_overlay under Wayland
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx
index 866f6eb72..8efbae5ff 100644
--- a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx
@@ -305,6 +305,7 @@ void Fl_Wayland_Gl_Window_Driver::make_current_before() {
// Tested wayland compositors: mutter, kde-plasma, weston, sway on FreeBSD.
wl_display_roundtrip(fl_wl_display());
wl_display_roundtrip(fl_wl_display());
+ wl_display_roundtrip(fl_wl_display()); // necessary for gl_overlay
}
}