diff options
-rw-r--r-- | src/Netizen.cc | 2 | ||||
-rw-r--r-- | src/Netizen.hh | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/Netizen.cc b/src/Netizen.cc index 8117ae1..56bfe52 100644 --- a/src/Netizen.cc +++ b/src/Netizen.cc | |||
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | Netizen::Netizen(BScreen *scr, Window win): | 35 | Netizen::Netizen(BScreen *scr, Window win): |
36 | screen(scr), | 36 | screen(scr), |
37 | basedisplay(screen->getBaseDisplay()), | 37 | basedisplay(scr->getBaseDisplay()), |
38 | window(win) { | 38 | window(win) { |
39 | screen = scr; | 39 | screen = scr; |
40 | basedisplay = screen->getBaseDisplay(); | 40 | basedisplay = screen->getBaseDisplay(); |
diff --git a/src/Netizen.hh b/src/Netizen.hh index 5e7dbed..c9460bb 100644 --- a/src/Netizen.hh +++ b/src/Netizen.hh | |||
@@ -32,12 +32,6 @@ class Netizen; | |||
32 | 32 | ||
33 | 33 | ||
34 | class Netizen { | 34 | class Netizen { |
35 | private: | ||
36 | BScreen *screen; | ||
37 | BaseDisplay *basedisplay; | ||
38 | Window window; | ||
39 | XEvent event; | ||
40 | |||
41 | public: | 35 | public: |
42 | Netizen(BScreen *, Window); | 36 | Netizen(BScreen *, Window); |
43 | 37 | ||
@@ -53,6 +47,12 @@ public: | |||
53 | void sendWindowLower(Window); | 47 | void sendWindowLower(Window); |
54 | 48 | ||
55 | void sendConfigNotify(XEvent *); | 49 | void sendConfigNotify(XEvent *); |
50 | private: | ||
51 | BScreen *screen; | ||
52 | BaseDisplay *basedisplay; | ||
53 | Window window; | ||
54 | XEvent event; | ||
55 | |||
56 | }; | 56 | }; |
57 | 57 | ||
58 | 58 | ||