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);
|
||||
sym = getsym(s);
|
||||
|
||||
/* FIXME: Should use a helper function. */
|
||||
switch(sym) {
|
||||
case LUP:
|
||||
case LDOWN:
|
||||
|
@ -706,6 +707,11 @@ msg_sendclient(View *v, IxpMsg *m, bool swap) {
|
|||
else
|
||||
to = view_findarea(v, v->selcol, true);
|
||||
break;
|
||||
case LTILDE:
|
||||
if(a->floating)
|
||||
return Ebadvalue;
|
||||
to = v->area;
|
||||
break;
|
||||
default:
|
||||
if(!getulong(s, &i) || i == 0)
|
||||
return Ebadvalue;
|
||||
|
|
Loading…
Reference in New Issue