fix freeze in systemtray configuring, sf.net bug #1359442
This commit is contained in:
parent
b9af026688
commit
939ffc7ef1
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 0.9.16:
|
||||
*06/04/18:
|
||||
* Fix system tray resize looping/livelock, sf.net bug #1359442 (Simon)
|
||||
SystemTray.cc
|
||||
* Fix iconbar updates (icon and title)
|
||||
(Thanks Mark Tiefenbruck, mark at tiefenbruck dot org)
|
||||
WinClient.hh/cc Window.hh/cc IconButton.cc IconbarTool.cc WinButton.cc
|
||||
|
|
|
@ -359,9 +359,10 @@ void SystemTray::handleEvent(XEvent &event) {
|
|||
|
||||
// this was why gaim wasn't centring the icon
|
||||
(*it)->sendConfigureNotify(0, 0, (*it)->width(), (*it)->height());
|
||||
// so toolbar know that we changed size
|
||||
// done inside this loop, because otherwise we can get into nasty looping
|
||||
resizeSig().notify();
|
||||
}
|
||||
// so toolbar know that we changed size
|
||||
resizeSig().notify();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue