aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2005-05-17 11:24:50 (GMT)
committersimonb <simonb>2005-05-17 11:24:50 (GMT)
commite3e8d5c33bf60d537783a39589fd8290e8264bbb (patch)
treeed024605cf7aa94abd8d65a447e67994b148e8b9 /src/SystemTray.cc
parentd24c090ecc26aedab8c5dfeae701a4f86883c4c7 (diff)
downloadfluxbox-e3e8d5c33bf60d537783a39589fd8290e8264bbb.zip
fluxbox-e3e8d5c33bf60d537783a39589fd8290e8264bbb.tar.bz2
fix systemtray overlap
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r--src/SystemTray.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc
index 1aced06..c2ea8f9 100644
--- a/src/SystemTray.cc
+++ b/src/SystemTray.cc
@@ -347,8 +347,10 @@ void SystemTray::handleEvent(XEvent &event) {
347 static_cast<unsigned int>(event.xconfigure.height) != (*it)->height()) { 347 static_cast<unsigned int>(event.xconfigure.height) != (*it)->height()) {
348 // the position might differ so we update from our local 348 // the position might differ so we update from our local
349 // copy of position 349 // copy of position
350 (*it)->moveResize((*it)->x(), (*it)->y(), 350 XMoveResizeWindow(FbTk::App::instance()->display(), (*it)->window(),
351 (*it)->x(), (*it)->y(),
351 (*it)->width(), (*it)->height()); 352 (*it)->width(), (*it)->height());
353
352 // this was why gaim wasn't centring the icon 354 // this was why gaim wasn't centring the icon
353 (*it)->sendConfigureNotify(0, 0, (*it)->width(), (*it)->height()); 355 (*it)->sendConfigureNotify(0, 0, (*it)->width(), (*it)->height());
354 } 356 }