diff options
-rw-r--r-- | src/Netizen.cc | 4 | ||||
-rw-r--r-- | src/Netizen.hh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Netizen.cc b/src/Netizen.cc index 1536be1..67d4a0d 100644 --- a/src/Netizen.cc +++ b/src/Netizen.cc | |||
@@ -105,6 +105,6 @@ void Netizen::sendWindowLower(Window w) { | |||
105 | XSendEvent(m_display, window(), False, NoEventMask, &event); | 105 | XSendEvent(m_display, window(), False, NoEventMask, &event); |
106 | } | 106 | } |
107 | 107 | ||
108 | void Netizen::sendConfigNotify(XEvent *e) { | 108 | void Netizen::sendConfigNotify(XEvent &ev) { |
109 | XSendEvent(m_display, window(), False, StructureNotifyMask, e); | 109 | XSendEvent(m_display, window(), False, StructureNotifyMask, &ev); |
110 | } | 110 | } |
diff --git a/src/Netizen.hh b/src/Netizen.hh index c03f97e..079bd01 100644 --- a/src/Netizen.hh +++ b/src/Netizen.hh | |||
@@ -43,7 +43,7 @@ public: | |||
43 | void sendWindowRaise(Window w); | 43 | void sendWindowRaise(Window w); |
44 | void sendWindowLower(Window w); | 44 | void sendWindowLower(Window w); |
45 | 45 | ||
46 | void sendConfigNotify(XEvent *xe); | 46 | void sendConfigNotify(XEvent &xe); |
47 | private: | 47 | private: |
48 | const BScreen &m_screen; | 48 | const BScreen &m_screen; |
49 | Display *m_display; ///< display connection | 49 | Display *m_display; ///< display connection |