From 4c768d5d63154e416e1282396dc48492d0585d42 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 7 Jan 2003 04:51:55 +0000 Subject: use client messages to switch desktops/move windows between desktops --- src/screen.hh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/screen.hh') 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) -- cgit v1.2.3