aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 }