<div dir="ltr">2016-02-25 16:32 GMT-03:00 Laércio de Sousa <span dir="ltr"><<a href="mailto:laerciosousa@sme-mogidascruzes.sp.gov.br" target="_blank">laerciosousa@sme-mogidascruzes.sp.gov.br</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div dir="ltr"><div class="gmail_extra">The thing here is that I want to call <span><span style="color:rgb(0,0,0)">XkbApplyMappingChange() </span><span style="color:rgb(0,0,0)">+ 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*</span></span> InitKeyboardDeviceStruct(). This is why I've moved the "if<span> ((*ki->driver->Init) (ki) != Success) ..."</span> block down a bit.<span class="HOEnZb"><font color="#888888"><br clear="all"></font></span></div></div></blockquote><div><br></div><div>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 driver.<br></div></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Laércio de Sousa</b><br></div><div style="text-align:center"><div style="text-align:left"><i>Orientador de Informática</i></div><div style="text-align:left"><u>Escola Municipal "Professor Eulálio Gruppi"</u></div><div style="text-align:left"><i>Rua Ismael da Silva Mello, 559, Mogi Moderno</i></div><i><div style="text-align:left"><i>Mogi das Cruzes - SP</i></div><div style="text-align:left"><i>CEP 08717-390</i></div></i></div><div><span style="font-family:arial;font-size:small">Telefone: (11) 4726-8313</span></div></div></div>
</div></div>