mirror of https://github.com/0intro/wmii
Allow 'send <client> ~'
This commit is contained in:
parent
cfeed07dc4
commit
4181367d68
|
@ -682,6 +682,7 @@ msg_sendclient(View *v, IxpMsg *m, bool swap) {
|
||||||
s = msg_getword(m);
|
s = msg_getword(m);
|
||||||
sym = getsym(s);
|
sym = getsym(s);
|
||||||
|
|
||||||
|
/* FIXME: Should use a helper function. */
|
||||||
switch(sym) {
|
switch(sym) {
|
||||||
case LUP:
|
case LUP:
|
||||||
case LDOWN:
|
case LDOWN:
|
||||||
|
@ -706,6 +707,11 @@ msg_sendclient(View *v, IxpMsg *m, bool swap) {
|
||||||
else
|
else
|
||||||
to = view_findarea(v, v->selcol, true);
|
to = view_findarea(v, v->selcol, true);
|
||||||
break;
|
break;
|
||||||
|
case LTILDE:
|
||||||
|
if(a->floating)
|
||||||
|
return Ebadvalue;
|
||||||
|
to = v->area;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if(!getulong(s, &i) || i == 0)
|
if(!getulong(s, &i) || i == 0)
|
||||||
return Ebadvalue;
|
return Ebadvalue;
|
||||||
|
|
Loading…
Reference in New Issue