diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-05-30 16:44:26 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-05-30 16:44:26 +0200 |
| commit | 86a8d138f2f3e366ccaa185fa86b97e49534dfd8 (patch) | |
| tree | b357334b3c67fdd6406335d16bfb0d324407261c /src/Fl_Window_Driver.H | |
| parent | ac0a5d52cbcef9b6cda8b6a2494b33523362cd9c (diff) | |
Fix for #1260 - part2: improve position of menu button window under Wayland
Diffstat (limited to 'src/Fl_Window_Driver.H')
| -rw-r--r-- | src/Fl_Window_Driver.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Window_Driver.H b/src/Fl_Window_Driver.H index 865c57af9..afa7017c5 100644 --- a/src/Fl_Window_Driver.H +++ b/src/Fl_Window_Driver.H @@ -206,6 +206,8 @@ public: static int *menu_offset_y(Fl_Window*); static bool is_floating_title(Fl_Window *); static void scroll_to_selected_item(Fl_Window *); + // non-NULL when an Fl_Menu_Button is being pulled down + static class Fl_Menu_Button *current_menu_button; virtual fl_uintptr_t os_id() { return 0; } virtual void allow_expand_outside_parent() {} |
