From d3359676e49b558cb7c6e24ea889c037d044b79f Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 6 Oct 2014 20:15:08 +0200 Subject: 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 --- openbox/menu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/menu.h') 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 */ -- cgit v1.2.3