Date: Thu, 26 Dec 2013 14:25:37 +0000 (UTC) From: Aleksandr Rybalko <ray@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259915 - head/sys/dev/vt Message-ID: <201312261425.rBQEPbHa018598@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ray Date: Thu Dec 26 14:25:37 2013 New Revision: 259915 URL: http://svnweb.freebsd.org/changeset/base/259915 Log: Fix AltGr, we should not only skip RAlt key release if enable_altgr is set, but also process RAlt key press same way. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt_core.c ============================================================================== --- head/sys/dev/vt/vt_core.c Thu Dec 26 11:38:33 2013 (r259914) +++ head/sys/dev/vt/vt_core.c Thu Dec 26 14:25:37 2013 (r259915) @@ -417,6 +417,8 @@ vt_processkey(keyboard_t *kbd, struct vt } else { switch (c & ~RELKEY) { case (SPCLKEY | RALT): + if (vt_enable_altgr != 0) + break; case (SPCLKEY | LALT): vd->vd_kbstate |= ALKED; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312261425.rBQEPbHa018598>