X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fscreen.hh;h=4eb81d4aebd0b222beebf963f1fd48701ea543eb;hb=7c32ac2b3f0bfd02a1efea1d67e5ad1c3c5be93f;hp=e8306933042c5e38855a8c039c1ddff05dac2369;hpb=265cf6c9478860336816570a141198d9257a27a1;p=chaz%2Fopenbox diff --git a/src/screen.hh b/src/screen.hh index e8306933..4eb81d4a 100644 --- a/src/screen.hh +++ b/src/screen.hh @@ -143,10 +143,6 @@ private: */ void changeNumDesktops(unsigned int num); - //! Shows and focuses the desktop and hides all the client windows, or - //! returns to the normal state, showing client windows. - void showDesktop(bool show); - public: #ifndef SWIG //! Constructs a new Screen object @@ -182,6 +178,10 @@ public: const DesktopLayout& desktopLayout() const { return _layout; } + //! Shows and focuses the desktop and hides all the client windows, or + //! returns to the normal state, showing client windows. + void showDesktop(bool show); + //! Update's the screen's combined strut of all the clients. /*! Clients should call this whenever they change their strut. @@ -224,6 +224,8 @@ public: */ void setDesktopName(unsigned int i, const otk::ustring &name); + otk::ustring desktopName(unsigned int i) const; + void installColormap(bool install) const; virtual void propertyHandler(const XPropertyEvent &e);