X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.h;h=c2c57f09a8a2e1f00e752f2cb460c9adbd6223c2;hb=b41c3395313a97741f2f76b9133dc3b0b8eb5bbc;hp=6ad181953bfe6f3e6b3edb07158f0504ce6aac71;hpb=eb6a2e9c4b334f53d714a2e7f10f73c63c3d2edd;p=chaz%2Fopenbox diff --git a/openbox/screen.h b/openbox/screen.h index 6ad18195..c2c57f09 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -67,10 +67,18 @@ void screen_resize(); void screen_set_num_desktops(guint num); /*! Change the current desktop */ void screen_set_desktop(guint num, gboolean dofocus); +/*! Add a new desktop either at the end or inserted at the current desktop */ +void screen_add_desktop(gboolean current); +/*! Remove a desktop, either at the end or the current desktop */ +void screen_remove_desktop(gboolean current); + /*! Interactively change desktops */ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear, gboolean dialog, gboolean done, gboolean cancel); +guint screen_find_desktop(guint from, ObDirection dir, + gboolean wrap, gboolean linear); + /*! Show/hide the desktop popup (pager) for the given desktop */ void screen_desktop_popup(guint d, gboolean show);