From a50e6e42acd09c2b55bbad42595ed837f54fa6e1 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 27 May 2010 17:44:28 -0400 Subject: [PATCH] [witray] Resize tray window after desktop change: avoid a race condition. --- cmd/tray/tray.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/tray/tray.c b/cmd/tray/tray.c index 63c6f21c..2c1b301b 100644 --- a/cmd/tray/tray.c +++ b/cmd/tray/tray.c @@ -155,6 +155,7 @@ tray_resize(Rectangle r) { } tray.r = r; + tray.win->r = ZR; /* Force the configure event. */ reshapewin(tray.win, r); restrut(tray.win, tray.orientation); }