summaryrefslogtreecommitdiff
path: root/src/Fl_Window_Driver.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Window_Driver.H')
-rw-r--r--src/Fl_Window_Driver.H2
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() {}