mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
[witray] Resize tray window after desktop change: avoid a race condition.
This commit is contained in:
parent
a831428c53
commit
a50e6e42ac
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user