X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fblackbox.hh;h=42ddeabbd2778d9129d319c498aa0c63bddfc624;hb=143d2df034e1304c1d9672226bd71f01533a1a63;hp=00f70cb9325ec077ea5cc98863e102b77f5069c7;hpb=9259ec5732851dd66f7c598d629e3808ac7ab3d8;p=chaz%2Fopenbox diff --git a/src/blackbox.hh b/src/blackbox.hh index 00f70cb9..42ddeabb 100644 --- a/src/blackbox.hh +++ b/src/blackbox.hh @@ -26,10 +26,10 @@ extern "C" { #include #include "otk/timer.hh" +#include "otk/property.hh" #include "openbox.hh" -#include "configuration.hh" +#include "otk/configuration.hh" #include "timer.hh" -#include "xatom.hh" #define AttribShaded (1l << 0) #define AttribMaxHoriz (1l << 1) @@ -111,8 +111,8 @@ private: BScreen *active_screen; BlackboxWindow *focused_window, *changing_window; otk::OBTimer *timer; - Configuration config; - XAtom *xatom; + otk::Configuration config; + otk::OBProperty *xatom; bool no_focus, reconfigure_wait; Time last_time; @@ -158,12 +158,12 @@ public: void removeWindowSearch(Window window); void removeGroupSearch(Window window); - inline XAtom *getXAtom(void) { return xatom; } + inline otk::OBProperty *getXAtom(void) { return xatom; } inline BlackboxWindow *getFocusedWindow(void) { return focused_window; } inline BlackboxWindow *getChangingWindow(void) { return changing_window; } - inline Configuration *getConfig() { return &config; } + inline otk::Configuration *getConfig() { return &config; } inline const Time &getDoubleClickInterval(void) const { return resource.double_click_interval; } inline const Time &getLastTime(void) const { return last_time; }