summaryrefslogtreecommitdiff
path: root/openbox/menuframe.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2014-10-06 20:15:08 +0200
committerMikael Magnusson <mikachu@gmail.com>2014-10-06 22:05:26 +0200
commitd3359676e49b558cb7c6e24ea889c037d044b79f (patch)
tree6b6ce9dd03e50ca5c584631999e977ec9a7b0cbf /openbox/menuframe.h
parent1b3afcff1fea0d1334b50dff378a6667e264b557 (diff)
Let the menu placement code know if the position was user specified
This way, it can avoid running the code that moves it to a good position relative to a mouse that isn't there
Diffstat (limited to 'openbox/menuframe.h')
-rw-r--r--openbox/menuframe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/menuframe.h b/openbox/menuframe.h
index 64dcd597..780290ba 100644
--- a/openbox/menuframe.h
+++ b/openbox/menuframe.h
@@ -121,7 +121,8 @@ void menu_frame_move_on_screen(ObMenuFrame *self, gint x, gint y,
gint *dx, gint *dy);
gboolean menu_frame_show_topmenu(ObMenuFrame *self, GravityPoint pos,
- gint monitor, gboolean mouse);
+ gint monitor, gboolean mouse,
+ gboolean user_positioned);
gboolean menu_frame_show_submenu(ObMenuFrame *self, ObMenuFrame *parent,
ObMenuEntryFrame *parent_entry);