aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-24 14:54:45 (GMT)
committerfluxgen <fluxgen>2003-06-24 14:54:45 (GMT)
commit225dc75dd9c85f573c9be95e87f3eb4acadc4ddc (patch)
treecd0cfccd1be710e49a2cfa1f4cb84211a3978e63
parentcc217ded949b5a918ad5e7baddbd0fbaf817af7c (diff)
downloadfluxbox-225dc75dd9c85f573c9be95e87f3eb4acadc4ddc.zip
fluxbox-225dc75dd9c85f573c9be95e87f3eb4acadc4ddc.tar.bz2
minor cleaning
-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