X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fblackbox.hh;h=3a9986afaab1e6b500688d46c89d05ca869d5670;hb=137a0c4e596409a1d35f0f6ea1bd6e4fcd5a3831;hp=055f7761972a543b5dc239cb2bbe7c301579e812;hpb=18064df19f670589b9387c194b55345c717473db;p=chaz%2Fopenbox diff --git a/src/blackbox.hh b/src/blackbox.hh index 055f7761..3a9986af 100644 --- a/src/blackbox.hh +++ b/src/blackbox.hh @@ -51,6 +51,7 @@ extern "C" { #include "BaseDisplay.hh" #include "Configuration.hh" #include "Timer.hh" +#include "XAtom.hh" #define AttribShaded (1l << 0) #define AttribMaxHoriz (1l << 1) @@ -91,8 +92,6 @@ class BWindowGroup; class Basemenu; class Toolbar; class Slit; -class XAtom; -class BInput; extern I18n i18n; @@ -153,7 +152,6 @@ private: BTimer *timer; Configuration config; XAtom *xatom; - BInput *input; bool no_focus, reconfigure_wait, reread_menu_wait; Time last_time; @@ -200,9 +198,7 @@ public: void removeSlitSearch(Window window); inline XAtom *getXAtom(void) { return xatom; } - inline BInput *getInput(void) { return input; } - - inline BScreen *getFocusedScreen(void) { return active_screen; } + inline BlackboxWindow *getFocusedWindow(void) { return focused_window; } inline BlackboxWindow *getChangingWindow(void) { return changing_window; }