Currently, the scroll lock state of the keyboard isn't restored properly when switching window. The patch copies syscons' behavior.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
That is what I have to done while ago :)
One comment - there is last `kbdd_ioctl(...KDSKBMODE...) in the vtterm_cngetc, so looks like grab/ungrab have to save/restore kbdstate of current window too. (I'm not sure)
Thanks a lot!
Comment Actions
This patch allows me to use the console right away after X shutdown. Before I would need to switch to another console before keyboard input would be registered.