xbindkeys-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xbindkeys-devel] xbindkeys changing behavior after some time of usa


From: David Reis
Subject: Re: [Xbindkeys-devel] xbindkeys changing behavior after some time of usage
Date: Fri, 29 Apr 2011 08:23:28 +0200

Hi!


Thanks for your response.

> You can also try to use the --clearmodifiers of the xdotool command.

As far as the manpage states, this only clears the modifiers for the
command specified to xdotool, then sets them again.

Also, I've been able to trap one of the moments where the behavior
changes:

Button press !
e.xbutton.button=8
e.xbutton.state=0
"(Scheme function)"
    m:0x0 + b:8   (mouse)
got screen 0 for window 15a
xbindkey_wrapper debug: key = b:1
xbindkey_wrapper debug: key = b:2
xbindkey_wrapper debug: key = b:3
xbindkey_wrapper debug: key = b:4
xbindkey_wrapper debug: key = b:5
xbindkey_wrapper debug: key = b:9
xbindkey_wrapper debug: key = b:10
xbindkey_wrapper debug: key = b:11
xbindkey_wrapper debug: key = b:12
xbindkey_wrapper debug: modifier = release.
xbindkey_wrapper debug: key = b:8

min_keycode=8     max_keycode=255 (ie: know keycodes)
"(Scheme function)"
    m:0x0 + b:1   (mouse)
"(Scheme function)"
    m:0x0 + b:2   (mouse)
"(Scheme function)"
    m:0x0 + b:3   (mouse)
"(Scheme function)"
    m:0x0 + b:4   (mouse)
"(Scheme function)"
    m:0x0 + b:5   (mouse)
"(Scheme function)"
    m:0x0 + b:9   (mouse)
"(Scheme function)"
    m:0x0 + b:10   (mouse)
"(Scheme function)"
    m:0x0 + b:11   (mouse)
"(Scheme function)"
    m:0x0 + b:12   (mouse)
"(Scheme function)"
    Release + m:0x0 + b:8   (mouse)
Button press !
e.xbutton.button=4
e.xbutton.state=8192
...
Button release !
e.xbutton.button=8
e.xbutton.state=8192

As you can see, nothing special here. At button press of b:8,
e.xbutton.state is correct (0), then it suddenly goes haywire when b:4
is pressed.


Thanks for any advice,

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]