X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fscreen.hh;h=ab0bc25aea37841c0196fb186a9105ceec4739b1;hb=7d94983b2e0c55e9d6fa9bc39c102c5b8b8dd468;hp=b64a5199c9edf03b037dbcddc22b4cc91eedd56c;hpb=91c7e5c378b1a639c6f5383915ed68b36b7735d4;p=chaz%2Fopenbox diff --git a/src/screen.hh b/src/screen.hh index b64a5199..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" @@ -44,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? @@ -77,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; @@ -196,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);