xserver-multidpi/hw/xfree86/os-support
Adam Jackson 6f145084d5 linux: Prefer ioctl(KDSKBMUTE, 1) over ioctl(KDSKBMODE, K_OFF)
K_OFF is a slightly broken interface, since if some other process
(cough, systemd) sets the console state to K_UNICODE then it undoes
K_OFF, and now Alt-F2 will switch terminals instead of summoning the
Gnome "run command" dialog.

KDSKBMUTE separates the "don't enqueue events" logic from the keymap, so
doesn't have this problem.  Try it first, then continue falling back to
older methods.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=859485
Tested-by: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-11-19 12:13:39 +10:00
..
bsd Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
bus xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
hurd Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
linux linux: Prefer ioctl(KDSKBMUTE, 1) over ioctl(KDSKBMODE, K_OFF) 2012-11-19 12:13:39 +10:00
misc Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
shared xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
solaris Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
stub xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 2011-10-15 21:18:47 -07:00
xf86_OSlib.h os-support: add Cygwin support 2012-04-05 21:57:03 -05:00
xf86_OSproc.h XFree86: os-support: Remove unused xf86MakeNewMapping 2012-07-10 00:42:10 -07:00
xf86OSpriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00