diff options
-rw-r--r-- | src/Netizen.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Netizen.hh b/src/Netizen.hh index 948d0d2..f58735a 100644 --- a/src/Netizen.hh +++ b/src/Netizen.hh | |||
@@ -30,7 +30,7 @@ class BScreen; | |||
30 | 30 | ||
31 | class Netizen { | 31 | class Netizen { |
32 | public: | 32 | public: |
33 | Netizen(BScreen *scr, Window w); | 33 | Netizen(const BScreen * const scr, Window w); |
34 | 34 | ||
35 | inline Window getWindowID() const { return window; } | 35 | inline Window getWindowID() const { return window; } |
36 | 36 | ||
@@ -45,7 +45,7 @@ public: | |||
45 | 45 | ||
46 | void sendConfigNotify(XEvent *xe); | 46 | void sendConfigNotify(XEvent *xe); |
47 | private: | 47 | private: |
48 | BScreen *screen; | 48 | const BScreen * const m_screen; |
49 | Display *m_display; ///< display connection | 49 | Display *m_display; ///< display connection |
50 | Window window; | 50 | Window window; |
51 | XEvent event; | 51 | XEvent event; |