Jean-Sébastien Pédron c4ad232a03 vt(4): Handle global and per-window mouse cursor toggle in one place
Before the global flag was set/unset using the CONS_MOUSECTL ioctl, and
the per-window flag through the MOUSE_SETLEVEL or MOUSE_SETMODE ioctls.

Also, if the cursor is already enabled/disabled, return immediatly. This
avoids to reset the cursor's position to the center of the screen.

This matches syscons' behavior.

While here, remove a trailing space and a redundant variable
declaration.
2014-08-21 13:04:34 +00:00
..
2014-08-08 11:47:18 +00:00
2014-07-07 00:27:09 +00:00
2014-07-07 00:27:09 +00:00
2014-08-21 00:57:32 +00:00
2013-08-28 14:49:36 +00:00
2014-06-02 18:45:36 +00:00
2013-10-28 23:34:05 +00:00
2014-08-05 23:35:19 +00:00
2014-08-05 23:58:49 +00:00
2014-08-05 23:39:35 +00:00
2014-08-05 23:47:26 +00:00
2014-07-07 00:27:09 +00:00
2014-07-28 22:23:49 +00:00
2014-07-12 06:23:42 +00:00
2014-05-20 19:55:06 +00:00
2014-07-07 08:22:39 +00:00
2014-07-30 18:21:06 +00:00
2014-06-24 20:09:02 +00:00
2014-05-16 21:19:17 +00:00
2013-09-05 23:14:27 +00:00
2014-04-30 06:40:30 +00:00
2013-10-29 11:17:49 +00:00
2014-05-16 21:19:17 +00:00
2014-07-07 00:27:09 +00:00
2014-07-29 14:41:28 +00:00
2014-07-26 17:57:13 +00:00
2014-07-07 00:27:09 +00:00
2013-10-29 11:17:49 +00:00
2014-02-04 20:52:33 +00:00
2014-08-11 15:37:02 +00:00