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; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"