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/menuframe.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/menuframe.h') 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); -- cgit v1.2.3