svn commit: r259915 - head/sys/dev/vt

Aleksandr Rybalko ray at FreeBSD.org
Thu Dec 26 14:25:37 UTC 2013


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;
 		}


More information about the svn-src-head mailing list