diff options
Diffstat (limited to 'src/Netizen.hh')
-rw-r--r-- | src/Netizen.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Netizen.hh b/src/Netizen.hh index d872ebe..c03f97e 100644 --- a/src/Netizen.hh +++ b/src/Netizen.hh | |||
@@ -30,9 +30,9 @@ class BScreen; | |||
30 | 30 | ||
31 | class Netizen { | 31 | class Netizen { |
32 | public: | 32 | public: |
33 | Netizen(const BScreen * const scr, Window w); | 33 | Netizen(const BScreen &scr, Window w); |
34 | 34 | ||
35 | inline Window getWindowID() const { return window; } | 35 | inline Window window() const { return m_window; } |
36 | 36 | ||
37 | void sendWorkspaceCount(); | 37 | void sendWorkspaceCount(); |
38 | void sendCurrentWorkspace(); | 38 | void sendCurrentWorkspace(); |
@@ -45,9 +45,9 @@ public: | |||
45 | 45 | ||
46 | void sendConfigNotify(XEvent *xe); | 46 | void sendConfigNotify(XEvent *xe); |
47 | private: | 47 | private: |
48 | const BScreen * const m_screen; | 48 | const BScreen &m_screen; |
49 | Display *m_display; ///< display connection | 49 | Display *m_display; ///< display connection |
50 | Window window; | 50 | Window m_window; |
51 | XEvent event; | 51 | XEvent event; |
52 | 52 | ||
53 | }; | 53 | }; |