Have keyboard events "bypass" grabbed pointer

2017-02-14 Thread Lukas Barth
Hi everyone, I'm trying to patch an application that uses xcb_grab_keyboard at the root window to grab all key presses (i.e., a screen locker). What I want to achieve is that certain key press events (e.g. some media keys) are nonetheless being passed to the root window (i.e., my window manager)

Re: Have keyboard events "bypass" grabbed pointer

2017-02-15 Thread Lukas Barth
Hi, On 14.02.2017 20:52, Thomas Lübking wrote: grab synchronously and conditionally xcb_allow_events (for acceptable keys) That sounds like what I'm trying to do! However, after some playing around, I can't seem to make it work. The way I understand it, the workflow is this: 1) call xcb_gr