mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 07:26:57 +08:00
Wayland: Possibly better way to complete popup construction
This commit is contained in:
@@ -1219,7 +1219,7 @@ Fl_X *Fl_Wayland_Window_Driver::makeWindow()
|
|||||||
Fl::e_number = old_event;
|
Fl::e_number = old_event;
|
||||||
pWindow->redraw();
|
pWindow->redraw();
|
||||||
// make sure each popup is mapped with its constraints before mapping next popup
|
// 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;
|
return xp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user