[PATCH kdrive/ephyr v2] kdrive/ephyr: map host X server's keymap into Xephyr, if supported

Laércio de Sousa laerciosousa at sme-mogidascruzes.sp.gov.br
Fri Feb 26 14:31:41 UTC 2016

2016-02-25 16:32 GMT-03:00 Laércio de Sousa <
laerciosousa at sme-mogidascruzes.sp.gov.br>:

> The thing here is that I want to call XkbApplyMappingChange() +
> XkbDDXChangeControls() inside EphyrKeyboardInit(), so I can isolate this
> code properly (I don't need it for e.g. kdrive evdev driver, since this one
> takes keymap directly from proposed -xkb-* options or udev properties), but
> I can only do that if EphyrKeyboardInit() is called *after*
> InitKeyboardDeviceStruct(). This is why I've moved the "if
> ((*ki->driver->Init) (ki) != Success) ..." block down a bit.

To be more clear, Alan: this patch is not related to my multi-seat patch
series at all. This one applies to the general use case for Xephyr (an
embedded X server that runs inside a usual desktop session for testing
purposes, sharing input devices with the host X server). It has absolutely
no effect when Xephyr handles its own input hardware via kdrive evdev

*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gruppi"*
*Rua Ismael da Silva Mello, 559, Mogi Moderno*
*Mogi das Cruzes - SPCEP 08717-390*
Telefone: (11) 4726-8313
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160226/bbeec18d/attachment.html>

More information about the xorg-devel mailing list