From 225dc75dd9c85f573c9be95e87f3eb4acadc4ddc Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 24 Jun 2003 14:54:45 +0000 Subject: minor cleaning --- src/Netizen.cc | 4 ++-- 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) { XSendEvent(m_display, window(), False, NoEventMask, &event); } -void Netizen::sendConfigNotify(XEvent *e) { - XSendEvent(m_display, window(), False, StructureNotifyMask, e); +void Netizen::sendConfigNotify(XEvent &ev) { + XSendEvent(m_display, window(), False, StructureNotifyMask, &ev); } 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: void sendWindowRaise(Window w); void sendWindowLower(Window w); - void sendConfigNotify(XEvent *xe); + void sendConfigNotify(XEvent &xe); private: const BScreen &m_screen; Display *m_display; ///< display connection -- cgit v0.11.2