[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] Keybindings in *top-map*
From: |
Julian Stecklina |
Subject: |
[STUMP] Keybindings in *top-map* |
Date: |
Mon, 12 May 2008 01:53:00 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Hello,
I have already reported this, but it didn't seem to attract much
attention. Something is definitely wrong with keybindings in the
*top-map*:
If you define a keybinding "s-S-k" (k is just used as an example, any
lowercase character will do), it parses into:
STUMPWM> (parse-key "s-S-k")
#S(KEY :KEYSYM 107 :SHIFT T :CONTROL NIL :META NIL :ALT NIL :HYPER NIL
:SUPER T)
But what stumpwm gets from the X server, when this key combination is
pressed, is:
#S(KEY :KEYSYM 75 :SHIFT NIL :CONTROL NIL :META NIL :ALT NIL :HYPER NIL
:SUPER T)
The result is a message "s-K not bound.". But if you use "s-K" in the
define-key form, stumpwm fails to capture this key and it is handed to
the window in focus when pressed.
If someone points me in the general direction of the error, I am
probably able to fix it, but I am very unsure what needs fixing... Any
advice is welcome.
Regards,
--
Julian Stecklina
Well, take it from an old hand: the only reason it would be easier to
program in C is that you can't easily express complex problems in C,
so you don't. - Erik Naggum (in comp.lang.lisp)
(Spam-Experiment: http://cthulhu.c3d2.de/~astro/badpit.html )
- [STUMP] Keybindings in *top-map*,
Julian Stecklina <=