X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fscreen.hh;h=ab0bc25aea37841c0196fb186a9105ceec4739b1;hb=9e6b0d5a8d0226232802bdece77665b167f98dae;hp=37e56cf1085625c9bc77484202667fd2d869891d;hpb=dd6f90684899e8e26e653af4b2e7e7eab1abf798;p=chaz%2Fopenbox diff --git a/src/screen.hh b/src/screen.hh index 37e56cf1..ab0bc25a 100644 --- a/src/screen.hh +++ b/src/screen.hh @@ -10,7 +10,6 @@ extern "C" { #include } -#include "client.hh" #include "widgetbase.hh" #include "otk/renderstyle.hh" #include "otk/strut.hh" @@ -26,7 +25,6 @@ extern "C" { namespace ob { class Client; -class RootWindow; //! Manages a single screen /*! @@ -45,8 +43,10 @@ public: ButtonPressMask | ButtonReleaseMask; + //! Holds a list of Clients + typedef std::list ClientList; //! All managed clients on the screen (in order of being mapped) - Client::List clients; + ClientList clients; private: //! Was %Openbox able to manage the screen? @@ -78,7 +78,7 @@ private: Window _supportwindow; //! A list of all managed clients on the screen, in their stacking order - Client::List _stacking; + ClientList _stacking; //! The desktop currently being displayed long _desktop; @@ -197,6 +197,8 @@ public: */ void setDesktopName(long i, const otk::ustring &name); + void installColormap(bool install) const; + virtual void propertyHandler(const XPropertyEvent &e); virtual void clientMessageHandler(const XClientMessageEvent &e); virtual void mapRequestHandler(const XMapRequestEvent &e);