X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=0c3a93f2a8d885dcc4d713857f6dfee23c3e7594;hb=5a9f3b5de23068acef28ee34477175f1d42c980b;hp=5e7ba927c14daf4e448b775f28f387629ad6b350;hpb=6e2593cadc9a755d0e08facb7df0459a786e692b;p=chaz%2Fopenbox diff --git a/src/frame.hh b/src/frame.hh index 5e7ba927..0c3a93f2 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -9,14 +9,14 @@ extern "C" { #include } -#include - #include "client.hh" #include "otk/strut.hh" #include "otk/rect.hh" #include "otk/screeninfo.hh" #include "otk/style.hh" +#include + namespace ob { //! Holds and decorates a frame around an OBClient (client window) @@ -24,7 +24,7 @@ namespace ob { */ class OBFrame { private: - const OBClient *_client; + OBClient *_client; const otk::ScreenInfo *_screen; //! The style to use for size and display the decorations @@ -89,7 +89,7 @@ public: @param client The client window which will be decorated by the new OBFrame @param style The style to use to decorate the frame */ - OBFrame(const OBClient *client, const otk::Style *style); + OBFrame(OBClient *client, const otk::Style *style); //! Destroys the OBFrame object virtual ~OBFrame();