On Tue, May 12, 2009 at 10:14:59AM +0200, Andreas Hübner wrote:
> So the only thing left is why Mod4 + m and Mod4 + f are not working.
> Like I said, other clientkeys are fine.
> Any ideas?
> (I tried with the default rc.lua.)
Finally had a chance to debug this.
It had nothing to do with the functionality bound to those keys, but
with the keybindings itself.
I looked at "event_handle_key" when I pressed Mod4 + m and the reported
event did have the root window in ev->event instead of the client
window. That lead to awesome looking in the wrong key table
(globalconf.keys instead of c->keys) for the binding.
It turns out that this was related to my xorg.conf (resp.
/etc/default/console-setup).
XKBMODEL="thinkpad"
XKBLAYOUT="us,de,de"
XKBVARIANT="altgr-intl,deadgraveacute,neo"
XKBOPTIONS="ctrl:swapcaps,grp:sclk_toggle,grp_led:scroll,lv3:ralt_switch_multikey"
When I deleted the third group, i. e. the de(neo) layout,
the issue was gone.
Something seems to be wrong with that specific keyboard layout.
I suspect it has something to do with the keycode->keysym translation
but who knows.
With that case solved, I have another small focus problem:
Let's assume I have a tiled layout with 2 clients. The mouse pointer
resides on client1. Now I switch to client2 via hotkey and maximize that
client. When I then "un-maximize" client2, the focus will switch back to
were my mouse pointer is (i. e. client1), although I didn't move the mouse.
Is it possible to change that behaviour?
Andreas
--
To unsubscribe, send mail to [email protected].