summaryrefslogtreecommitdiff
path: root/openbox/menu.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/menu.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/menu.h')
-rw-r--r--openbox/menu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/menu.h b/openbox/menu.h
index 08ca00e2..d9de36ae 100644
--- a/openbox/menu.h
+++ b/openbox/menu.h
@@ -182,7 +182,8 @@ void menu_clear_pipe_caches(void);
void menu_show_all_shortcuts(ObMenu *self, gboolean show);
void menu_show(gchar *name, GravityPoint pos, gint monitor,
- gboolean mouse, struct _ObClient *client);
+ gboolean mouse, gboolean user_positioned,
+ struct _ObClient *client);
gboolean menu_hide_delay_reached(void);
/*! The show function is called right after a menu is shown */