summaryrefslogtreecommitdiff
path: root/openbox/screen.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-09 04:04:53 +0000
committerDana Jansens <danakj@orodu.net>2007-05-09 04:04:53 +0000
commit4546925b589d30c46f3bced74a02b3d531de894c (patch)
treec0963f1e1302a79bb31cb9968283e8fcefa50a70 /openbox/screen.h
parent65eb46bd1f1f6c97cf1ff9506dd65792303a7ed4 (diff)
get the mouse pointer position if it is on another screen too.
let you move/resize from the client menu if the mouse is on another screen
Diffstat (limited to 'openbox/screen.h')
-rw-r--r--openbox/screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/screen.h b/openbox/screen.h
index ccaa4f57..a84170f8 100644
--- a/openbox/screen.h
+++ b/openbox/screen.h
@@ -107,6 +107,8 @@ guint screen_find_monitor(Rect *search);
gotta call it to let it know it should change. */
void screen_set_root_cursor();
+/*! Gives back the pointer's position in x and y. Returns TRUE if the pointer
+ is on this screen and FALSE if it is on another screen. */
gboolean screen_pointer_pos(gint *x, gint *y);
#endif