From 111465b7373cdcdd791b603aefd882ae06d5bf0b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 14 Dec 2009 16:08:30 -0500 Subject: Let menus place themselves on monitors where the mouse is not present This fixes a bug which forced menus to show up on the same monitor as the mouse pointer. --- openbox/screen.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/screen.h') diff --git a/openbox/screen.h b/openbox/screen.h index 7df47f39..4a8d8a1e 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -134,6 +134,9 @@ gboolean screen_physical_area_monitor_contains(guint head, Rect *search); */ guint screen_find_monitor(Rect *search); +/*! Finds the monitor which contains the point @x, @y */ +guint screen_find_monitor_point(guint x, guint y); + /*! Sets the root cursor. This function decides which cursor to use, but you gotta call it to let it know it should change. */ void screen_set_root_cursor(); -- cgit v1.2.3