Hi,

I've just notice the layout symbol is not updated unless there is a
client in the current view.
To reproduce it you can follow these steps:
- Switch to an empty view.
- Mod+{t,f,m}. The layout symbol doesn't change.
- Switch to a view with a client. Then the layout symbol is updated.

I don't know if it's the expected behavior. If it isn't I attach a
patch with a possible solution.

Kind regards,
Nibble
diff -r e41abf7aa633 dwm.c
--- a/dwm.c	Sat Sep 26 19:52:04 2009 +0100
+++ b/dwm.c	Sat Sep 26 21:51:56 2009 +0200
@@ -1444,10 +1444,7 @@
 		selmon->sellt ^= 1;
 	if(arg && arg->v)
 		selmon->lt[selmon->sellt] = (Layout *)arg->v;
-	if(selmon->sel)
-		arrange();
-	else
-		drawbars();
+	arrange();
 }
 
 /* arg > 1.0 will set mfact absolutly */

Reply via email to