summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Netizen.cc4
-rw-r--r--src/Netizen.hh2
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
108void Netizen::sendConfigNotify(XEvent *e) { 108void 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);
47private: 47private:
48 const BScreen &m_screen; 48 const BScreen &m_screen;
49 Display *m_display; ///< display connection 49 Display *m_display; ///< display connection