Review: winex11.drv: Add workaround for 'phantom key' presence in X

Dmitry Timoshkov dmitry at
Wed Aug 12 07:47:16 CDT 2009

"Aric Stewart" <aric at> wrote:

> It seems to be 'OK' for X11 to return that because everyone in the X11 
> universe seems to just accept that as how X works.

Could you please provide an example of this? How other projetcs cope with

Having an appropriate X11 keyboard layout activated is exactly the same
kind of thing as having an appropriate X11 locale, or a sensible font set.
Just because Wine depends on this.

Many users don't have it set correctly, and both KDE and Gnome have
workarounds/hacks for that. But it doesn't mean that Wine has to workaround
or hack every user misconfiguration.

It was always a Wine policy to ask users to properly configure their
system, and report the bugs to other projects. That's not different
from gcc/binutils/kernel/WM/pulseaudio/video drivers/etc. bugs.

> Not fixing it wine 
> would mean require all wine users to use something like xmodmap to 
> modify their own xservers to get the correct behavior.

Using the keyboard layout selector in Gnome/KDE or any other environment
should be enough. Besides it's hard to call this hack a "fix".


More information about the wine-devel mailing list