summaryrefslogtreecommitdiff
path: root/src/screen.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-07 04:51:55 +0000
committerDana Jansens <danakj@orodu.net>2003-01-07 04:51:55 +0000
commit4c768d5d63154e416e1282396dc48492d0585d42 (patch)
tree879060f576e9ebea69ca924239e2b162e1cdc9c5 /src/screen.hh
parent85b0dc80cff679d964820159de018a6e89997184 (diff)
use client messages to switch desktops/move windows between desktops
Diffstat (limited to 'src/screen.hh')
-rw-r--r--src/screen.hh30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/screen.hh b/src/screen.hh
index f27e41f1..933fc20d 100644
--- a/src/screen.hh
+++ b/src/screen.hh
@@ -116,6 +116,21 @@ private:
//! Get desktop names from the root window property
void updateDesktopNames();
+ //! Changes to the specified desktop, displaying windows on it and hiding
+ //! windows on the others.
+ /*!
+ @param desktop The number of the desktop to switch to (starts from 0).
+ If the desktop is out of valid range, it is ignored.
+ */
+ void changeDesktop(long desktop);
+
+ //! Changes the number of desktops.
+ /*!
+ @param num The number of desktops that should exist. This value must be
+ greater than 0 or it will be ignored.
+ */
+ void changeNumDesktops(long num);
+
public:
#ifndef SWIG
//! Constructs a new OBScreen object
@@ -169,21 +184,6 @@ public:
//! layer
void restack(bool raise, OBClient *client);
- //! Changes to the specified desktop, displaying windows on it and hiding
- //! windows on the others.
- /*!
- @param desktop The number of the desktop to switch to (starts from 0).
- If the desktop is out of valid range, it is ignored.
- */
- void changeDesktop(long desktop);
-
- //! Changes the number of desktops.
- /*!
- @param num The number of desktops that should exist. This value must be
- greater than 0 or it will be ignored.
- */
- void changeNumDesktops(long num);
-
//! Sets the name of a desktop
/*!
@param i The index of the desktop to set the name for (starts at 0)