summaryrefslogtreecommitdiff
path: root/openbox/screen.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-14 16:08:30 -0500
committerDana Jansens <danakj@orodu.net>2009-12-14 16:08:30 -0500
commit111465b7373cdcdd791b603aefd882ae06d5bf0b (patch)
treebf62f6a4c64cfb9162b9765611a9f56e363b17a3 /openbox/screen.h
parentd55f4b41c6ebf00e36a5e91ddc962a753f6c9ef8 (diff)
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.
Diffstat (limited to 'openbox/screen.h')
-rw-r--r--openbox/screen.h3
1 files changed, 3 insertions, 0 deletions
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();