diff options
Diffstat (limited to 'openbox/screen.h')
| -rw-r--r-- | openbox/screen.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbox/screen.h b/openbox/screen.h index d15b352c..a6a3995b 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -164,4 +164,12 @@ gboolean screen_pointer_pos(gint *x, gint *y); /*! Returns the monitor which contains the pointer device */ guint screen_monitor_pointer(void); +/*! Compare the desktop for two windows to see if they are considered on the + same desktop. + Windows that are on "all desktops" are treated like they are only on the + current desktop, so they are only in one place at a time. + @return TRUE if they are on the same desktop, FALSE otherwise. +*/ +gboolean screen_compare_desktops(guint a, guint b); + #endif |
