fix systemtray overlap
This commit is contained in:
parent
d24c090ecc
commit
e3e8d5c33b
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -347,8 +347,10 @@ void SystemTray::handleEvent(XEvent &event) {
|
|||
static_cast<unsigned int>(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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue