fix freeze in systemtray configuring, sf.net bug #1359442

This commit is contained in:
simonb 2006-04-18 05:28:22 +00:00
parent b9af026688
commit 939ffc7ef1
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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();
}
}