[witray] Resize tray window after desktop change: avoid a race condition.

This commit is contained in:
Kris Maglione 2010-05-27 17:44:28 -04:00
parent a831428c53
commit a50e6e42ac

View File

@ -155,6 +155,7 @@ tray_resize(Rectangle r) {
} }
tray.r = r; tray.r = r;
tray.win->r = ZR; /* Force the configure event. */
reshapewin(tray.win, r); reshapewin(tray.win, r);
restrut(tray.win, tray.orientation); restrut(tray.win, tray.orientation);
} }