It would be helpful if you would be a bit more verbose. Your are using X11 ? Xlib ? Qt ?
Most people are aware of a whole plethora of libs and need to know so exactly as possible what you are doing, a small pseudo code or real code is also a good idea. jm2c, wh ________________________________________ Von: xorg <xorg-boun...@lists.x.org> im Auftrag von Will Song <incer...@incertia.net> Gesendet: Freitag, 29. Mai 2020 07:25:42 An: xorg@lists.x.org Betreff: XInput2 raw events only for root window Hey all. I am writing a small-ish application and when grabbing for keyboard events I noticed that it was not possible to select for raw key press/releasee events on the client window I created, and must be done on the screen root. Is this an intentional design in the xorg server or is it possible to do this generally in a non-root window? Thanks. -- Will Song _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s