I apologize if this question is inappropriate to the forum, but I have to ask:
How does the Xserver interact with FVWM?
My understanding was that FVWM ran ‘on top of’ the Xserver. When a key was pressed, the Xserver interpreted the key press (Thanks Thomas Adam) and then passed the keycode onto the FVWM - which looked at the keycode, compared it against the Xmodmapping to check if that keycode had any special value to FVWM (again, thanks Thomas and tBD), if so, FVWM handled it, if not, that key press was passed onto the application currenty in focus - so, is this not how it works?
I ask because I have a third party app that is listening for XEvents, and for some reason, not all XEvents are visible - I can ‘see’ only focus change XEvents but not key presses and key releases - is it possible that keypresses that are bound using my defined XModMap file that I wrote don’t actually ‘go outside of fvwm’ and therefore are not visible to any application other than fvwm? I would have thought that when a message was passed from the Xserver to the FVWM, that an XEvent listener (all it does is listen for events, looks at them, prints up what they are, but doesn’t use them) would see ALL XEvents, including keypresses and keyreleases, currently, all I can see with this third party app are focus changes…
Is there a trusted third-party app that someone could recommend that I could use to display XEvents when key’s are pressed and released? the one I am using is proprietary to my company, and I am not sure how ‘good’ it actually is (the engineer who wrote is long gone form the company for… interesting reasons).
so, I guess my question is two fold: SHOULD all events from the keyboard be visible to applications outside of FVWM if they are listening for them (before or during the time that FVWM deals with those events on its own)? And does anyone know of a good third party app that I could use to listen for these events as well? I just want to know that FVWM is registering the keypress and keyrelease commands so that I can use them.
If my post could possibly be more confusing, please let me know and I’ll do my best. (I need more caffiene).
Thanks in advance,