[hackers] [wmii] [witray] Resize tray window after desktop change: avoid a race condition. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 27 May 2010 21:44:39 +0000 (UTC)

changeset: 2656:2d996aa17f50
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Thu May 27 17:44:28 2010 -0400
files: cmd/tray/tray.c
description:
[witray] Resize tray window after desktop change: avoid a race condition.

diff -r 671598e38eee -r 2d996aa17f50 cmd/tray/tray.c
--- a/cmd/tray/tray.c Thu May 27 17:38:19 2010 -0400
+++ b/cmd/tray/tray.c Thu May 27 17:44:28 2010 -0400
@@ -155,6 +155,7 @@
         }
 
         tray.r = r;
+ tray.win->r = ZR; /* Force the configure event. */
         reshapewin(tray.win, r);
         restrut(tray.win, tray.orientation);
 }
Received on Thu May 27 2010 - 21:44:39 UTC

This archive was generated by hypermail 2.2.0 : Thu May 27 2010 - 21:48:04 UTC