dumbbell 6981999a42 vt(4): Save/restore keyboard mode & LED states when switching window
(MFC of r272416)

Add new functions to manipulate these mode & state, instead of calling
kbdd_ioctl() everyhere.

This fixes at least two bugs:

    1. The state of the Scroll Lock LED and the state of scroll mode
       could be out-of-sync. For instance, if one enables scroll mode on
       window #1 and switches to window #2, the LED would remain on, but
       the window wouldn't be in scroll mode.

       Similarily, when switching between a console and an X.Org
       session, the LED states could be inconsistent with the real
       state.

    2. When exiting from an X.Org session, the user could be unable to
       type anything. The workaround was to switch to another console
       window and come back.

Differential Revision:	https://reviews.freebsd.org/D821
Reviewed by:	ray@
Approved by:	ray@
Tested by:	kwm@
2014-10-13 13:50:51 +00:00
..
2014-10-10 20:47:23 +00:00
2014-09-18 08:58:22 +00:00
2014-10-11 06:04:44 +00:00
2014-10-10 01:01:04 +00:00
2014-09-28 11:08:32 +00:00
2014-10-12 17:21:15 +00:00
2014-06-30 09:51:27 +00:00
2014-04-07 01:49:30 +00:00
2014-10-04 17:46:04 +00:00
2014-09-23 00:43:18 +00:00
2014-10-10 20:47:23 +00:00
2014-10-11 18:01:09 +00:00
2014-08-31 21:18:23 +00:00
2014-10-07 07:52:47 +00:00
2014-02-17 01:36:53 +00:00
2014-06-30 19:46:17 +00:00
2014-10-12 17:45:22 +00:00
2014-10-09 23:29:44 +00:00
2014-08-16 13:55:44 +00:00
2014-05-02 21:30:59 +00:00
2014-06-22 21:26:46 +00:00
2014-07-21 22:21:09 +00:00
2014-03-26 23:57:09 +00:00
2014-10-02 10:46:12 +00:00
2014-06-27 17:22:18 +00:00
2014-04-14 04:51:59 +00:00
2014-08-01 21:10:41 +00:00
2014-08-16 13:11:59 +00:00
2014-10-11 17:49:51 +00:00
2014-09-05 13:25:27 +00:00
2014-10-11 17:49:51 +00:00
2014-09-22 20:34:36 +00:00