Discussion:
Global Key Press
(too old to reply)
Nick
2003-07-22 18:19:00 UTC
Permalink
I hope I'm posting this to the right group. I'm trying to develop an
application that will detect a key press even if the window the
application is in is not in focus. If it is possible I want to be
able to run the application in a terminal window and not create any
other windows. I'm programming in C and using Xlib

Thanks,
Nick
Michel Bardiaux
2003-07-23 12:35:47 UTC
Permalink
Post by Nick
I hope I'm posting this to the right group. I'm trying to develop an
application that will detect a key press even if the window the
application is in is not in focus. If it is possible I want to be
able to run the application in a terminal window and not create any
other windows. I'm programming in C and using Xlib
Thanks,
Nick
This makes no sense to me. The window that receives the key-press events
is ex hypothesis the one having the focus. What exactly are you tring to do?
--
Michel Bardiaux
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41
gabe
2004-02-18 17:38:12 UTC
Permalink
i believe there are various windowmanagers that allow this... i use fvwm2 and i know it supports it...
Loading...