]> source.dussan.org Git - tigervnc.git/commit
Replace Shift+Alt with Shift+Meta when possible
authorPierre Ossman <ossman@cendio.se>
Fri, 21 Sep 2018 10:30:54 +0000 (12:30 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 21 Sep 2018 10:30:54 +0000 (12:30 +0200)
commit3b532f87b26d791b0b64b87aa39141d1a81098e8
tree6f52d0bd7d73dbbcecfec02c3cb372ce03d3c5eb
parent764c60904b2be6d0e486f80eb9d541b7c331c4fc
Replace Shift+Alt with Shift+Meta when possible

Most layouts on Unix generate Meta for Shift+Alt but non-Unix clients
will send XK_Alt_*. This results in us picking some other key which
can confuse some applications.

Try to detect this scenario and map XK_Alt_* to XK_Meta_*.
unix/xserver/hw/vnc/Input.c