aewl

diff view.c @ 584:37281ebc1b5b

added togglefloat to hg tip (i consider this useful for some cases), using MODKEY-Shift-space as shortcut
author arg@mig29
date Mon, 27 Nov 2006 10:57:37 +0100
parents 797e27162b43
children fede0f2de723
line diff
     1.1 --- a/view.c	Mon Nov 27 10:29:47 2006 +0100
     1.2 +++ b/view.c	Mon Nov 27 10:57:37 2006 +0100
     1.3 @@ -201,6 +201,14 @@
     1.4  }
     1.5  
     1.6  void
     1.7 +togglefloat(Arg *arg) {
     1.8 +	if (!sel)
     1.9 +		return;
    1.10 +	sel->isfloat = !sel->isfloat;
    1.11 +	arrange();
    1.12 +}
    1.13 +
    1.14 +void
    1.15  togglemode(Arg *arg) {
    1.16  	arrange = (arrange == dofloat) ? dotile : dofloat;
    1.17  	if(sel)