Allow 'send <client> ~'

This commit is contained in:
Kris Maglione 2008-02-03 15:17:08 -05:00
parent cfeed07dc4
commit 4181367d68
1 changed files with 6 additions and 0 deletions

View File

@ -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;