[hackers] [wmii] Allow 'send <client> ~'

From: Kris Maglione <jg_AT_suckless.org>
Date: Sun Feb 03 21:21:53 2008

changeset: 2274:9f53f1ee8d04
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sun Feb 03 15:17:08 2008 -0500
summary: Allow 'send <client> ~'

diff -r febfb42a727e -r 9f53f1ee8d04 cmd/wmii/message.c
--- a/cmd/wmii/message.c Sun Feb 03 15:06:26 2008 -0500
+++ b/cmd/wmii/message.c Sun Feb 03 15:17:08 2008 -0500
@@ -682,6 +682,7 @@ msg_sendclient(View *v, IxpMsg *m, bool
         s = msg_getword(m);
         sym = getsym(s);
 
+ /* FIXME: Should use a helper function. */
         switch(sym) {
         case LUP:
         case LDOWN:
@@ -705,6 +706,11 @@ msg_sendclient(View *v, IxpMsg *m, bool
                         to = view_findarea(v, f->column, true);
                 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)
Received on Sun Feb 03 2008 - 21:21:53 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:16 UTC