Mercurial > aewl
comparison view.c @ 591:d9e9df9fdce6
togglefloat should only work in dotile mode (thanks to Sander for this hint)
author | arg@mig29 |
---|---|
date | Tue, 28 Nov 2006 17:35:31 +0100 |
parents | 1477b61ec8d4 |
children | f7dcd3ac8d6f |
comparison
equal
deleted
inserted
replaced
590:d6ff27532fdd | 591:d9e9df9fdce6 |
---|---|
200 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); | 200 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); |
201 } | 201 } |
202 | 202 |
203 void | 203 void |
204 togglefloat(Arg *arg) { | 204 togglefloat(Arg *arg) { |
205 if (!sel) | 205 if (!sel || arrange == dofloat) |
206 return; | 206 return; |
207 sel->isfloat = !sel->isfloat; | 207 sel->isfloat = !sel->isfloat; |
208 arrange(); | 208 arrange(); |
209 } | 209 } |
210 | 210 |