<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">I want normal processing of keyboard events and just want to trigger
actions upon certain key combinations/sequences.
According to the documentation XGrabKeyboard() seems to prevent further
processing in other applications and there is no easy way to re-enqueue
key events I'm not interested in.
So you want keyboard shortcuts? Like shift+ctrl+p and the like? Then
you should use XGrabKey to grab that key combination only. See
libmatchbox2 sources for code.
Grabbing or monitoring the whole keyboard for a keyboard shortcut is not
the right way...
Hi, I managed to issue a grab after some fussing around, but I see no
reaction - shouldn't the grabbed keys be delivered to my application
just as as if I had the focus? Or do I need something special to
receive the grabbed keys?<br>
Thanks for your help!<br>