tapplied Jukka's zoom-patch - dwm - [fork] customized build of dwm, the dynamic window manager
HTML git clone git://src.adamsgaard.dk/dwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 4426032450777e63ac9a8967cd67382497954c51
DIR parent e0f039789643381485dab5c467f66db5162d4f63
HTML Author: Anselm R Garbe <garbeam@gmail.com>
Date: Wed, 20 Feb 2008 13:48:52 +0000
applied Jukka's zoom-patch
Diffstat:
M dwm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/dwm.c b/dwm.c
t@@ -2009,11 +2009,11 @@ viewprevtag(const char *arg) {
void
zoom(const char *arg) {
- Client *c;
+ Client *c = sel;
if(!sel || !dozoom || sel->isfloating)
return;
- if((c = sel) == nexttiled(clients, c->monitor))
+ if(c == nexttiled(clients, c->monitor))
if(!(c = nexttiled(c->next, c->monitor)))
return;
detach(c);