diff --git a/src/Netizen.cc b/src/Netizen.cc index 8117ae11..56bfe52d 100644 --- a/src/Netizen.cc +++ b/src/Netizen.cc @@ -34,7 +34,7 @@ Netizen::Netizen(BScreen *scr, Window win): screen(scr), -basedisplay(screen->getBaseDisplay()), +basedisplay(scr->getBaseDisplay()), window(win) { screen = scr; basedisplay = screen->getBaseDisplay(); diff --git a/src/Netizen.hh b/src/Netizen.hh index 5e7dbedb..c9460bb2 100644 --- a/src/Netizen.hh +++ b/src/Netizen.hh @@ -32,12 +32,6 @@ class Netizen; class Netizen { -private: - BScreen *screen; - BaseDisplay *basedisplay; - Window window; - XEvent event; - public: Netizen(BScreen *, Window); @@ -53,6 +47,12 @@ public: void sendWindowLower(Window); void sendConfigNotify(XEvent *); +private: + BScreen *screen; + BaseDisplay *basedisplay; + Window window; + XEvent event; + };