1 Jan 2004 10:22
[STUMP] bindings change, rudimentary window groups, odd bug
Julian Fondren <miprihas <at> yahoo.com>
2004-01-01 09:22:07 GMT
2004-01-01 09:22:07 GMT
Happy New Years =) I just got stumpwm working today,
and did some small
amount of hacking. I'll share that first; the bug
(which I suppose I
would understand if I knew X a bit better) I put at
the end.
;; keybindings
I had some immediate trouble with stumpwm, because I
didn't know what
keybindings it had. After I got a development system
up, I changed the
*key-bindings* values to have (cons fn name), with a
string for NAME.
The one accessor of FN now looks at (car (cons fn
name)). I should've
probably used a struct for this. I then changed
SET-DEFAULT-BINDINGS
as follows:
(defun set-default-bindings ()
"..."
(macrolet ((bind-keys (&rest list)
`(progn , <at> (mapcar (lambda (k)
`(set-key-binding , <at> k))
list))))
(bind-keys (#\n "next window"
'focus-next-window)
(#\p "prev window" 'focus-prev-winow)
...
(Continue reading)
RSS Feed