DOS's hotkeys and KDE
Hello.
Quoted 1 line · Alain
This is the general approach that I had already used, but isn't there a configuration specific por DOSEMU or in KDE for a specific window?
One thing you can do is to find the line in X.c of dosemu sources:
#undef ENABLE_KEYBOARD_GRAB
and change it to
#define ENABLE_KEYBOARD_GRAB 1 Then when you enable the mouse grab, the keyboard grab will also be enabled, and so all the keyboard events will be passed to the dosemu window exclusively.
One may want to make it a dosemu.conf option, as well as decouple from the mouse grab - that shouldn't be too difficult.