neutrinolabs / xorgxrdp

Xorg drivers for xrdp
Other
458 stars 113 forks source link

More evdev keyboard changes #333

Closed matt335672 closed 3 months ago

matt335672 commented 3 months ago

Fixes neutrinolabs/xrdp#1721

This commit removes some unused code from the keyboard driver, and fixes a rare race condition between the Xorg server starting and the first RDP client connecting (see neutrinolabs/xrdp#1721)

Keyboard layout logging is also somewhat improved. On X server startup, a line like this is logged:-

[  4800.882] rdpLoadLayout: rules="evdev" model="pc104" variant=""layout="us" options=""

Following a client connect, the change is logged:-

[  4814.777] rdpLoadLayout: rules="evdev" model="pc104" variant=""layout="gb" options=""
jsorg71 commented 3 months ago

LGTM