summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-09 17:11:21 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-09 17:11:21 +0100
commita5b431e35e6db05ec02121b4f17dc1d12616e832 (patch)
tree4d2c3dd9597390202d56d58b8340db6a3164cc0f /src
parenta6dd0adac7078ea93955242ab4bad49c812c20a8 (diff)
Wayland: Possibly better way to complete popup construction
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 14a0a3552..f3d9463e5 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -1219,7 +1219,7 @@ Fl_X *Fl_Wayland_Window_Driver::makeWindow()
Fl::e_number = old_event;
pWindow->redraw();
// make sure each popup is mapped with its constraints before mapping next popup
- if (pWindow->menu_window()) wl_display_roundtrip(Fl_Wayland_Screen_Driver::wl_display);
+ if (pWindow->menu_window()) pWindow->wait_for_expose();
return xp;
}