From e3e8d5c33bf60d537783a39589fd8290e8264bbb Mon Sep 17 00:00:00 2001 From: simonb Date: Tue, 17 May 2005 11:24:50 +0000 Subject: fix systemtray overlap --- ChangeLog | 3 +++ src/SystemTray.cc | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 22572a1..2f7c123 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.14 +*05/05/17: + * Fix systemtray overlap (Simon + Thanks Vadim) + SystemTray.cc *05/05/14: * Fix some Ewmh/Gnome issues (Mathias + thanx Vadim) + _NET_CLIENT_LIST and _NET_CLIENT_LIST_STACKING not updated 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) { static_cast(event.xconfigure.height) != (*it)->height()) { // the position might differ so we update from our local // copy of position - (*it)->moveResize((*it)->x(), (*it)->y(), + XMoveResizeWindow(FbTk::App::instance()->display(), (*it)->window(), + (*it)->x(), (*it)->y(), (*it)->width(), (*it)->height()); + // this was why gaim wasn't centring the icon (*it)->sendConfigureNotify(0, 0, (*it)->width(), (*it)->height()); } -- cgit v0.11.2