From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: DOS's hotkeys and KDE Date: Tue, 22 Feb 2005 22:46:07 +0300 Message-ID: <421B8BFF.8090407@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. Alain wrote: > 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.