summaryrefslogtreecommitdiff
path: root/openbox/screen.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-23 16:15:46 +0000
committerDana Jansens <danakj@orodu.net>2007-06-23 16:15:46 +0000
commit8bcd349e4e7078e663d3092a6ad6c7aff8eb05a0 (patch)
tree7d076aa3273aef8460ff3499bd03526a1fc1e63e /openbox/screen.h
parentb1a50affe5bc968bffaac0e87ae108259beed428 (diff)
move logic for add/remove desktop into screen.c
Diffstat (limited to 'openbox/screen.h')
-rw-r--r--openbox/screen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/screen.h b/openbox/screen.h
index 6ad18195..041d9ccd 100644
--- a/openbox/screen.h
+++ b/openbox/screen.h
@@ -67,6 +67,11 @@ 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);