From e73b2da5e441f8d9f56ee7c1a9e9cbda269653bf Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 27 Dec 2022 13:15:31 +0100 Subject: Wayland: Dropdown menu moves when navigated (#613) - cont'd Menu windows containing sub-menus are now processed differently. --- src/Fl_Window_Driver.H | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Fl_Window_Driver.H') diff --git a/src/Fl_Window_Driver.H b/src/Fl_Window_Driver.H index ddc2100c7..ad2e41dc5 100644 --- a/src/Fl_Window_Driver.H +++ b/src/Fl_Window_Driver.H @@ -191,6 +191,7 @@ public: virtual void reposition_menu_window(int x, int y); virtual void menu_window_area(int &X, int &Y, int &W, int &H, int nscreen = -1); static Fl_Window *menu_parent(); + const Fl_Menu_Item *current_menu(); virtual fl_uintptr_t os_id() { return 0; } }; -- cgit v1.2.3