Fred Kiefer a écrit :
Why don't you use the check_modifier() function to find out if the other
modifier (XK_Shift_R) is still pressed, when you get a XK_Shift_L
release? Or am I again missing the whole point?
The main reason was that I did not know about that function.
Moreover, I believe I cannot use it because it treats information coming
from a XKeymapEvent, and here we are dealing with a XKeyEvent (which
does not contain the key_vector field).
XQueryPointer is a rather expensiv funtion, we should only call it, when
we actually need it.
I agree, but on the other hand, it just happens when a SHIFT key is
released.
Goodbye,
Stéphane.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep