Page MenuHomeFreeBSD

Keep keyboard mode and state and restore it when switching window
ClosedPublic

Authored by dumbbell on Sep 23 2014, 6:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 6:35 AM
Unknown Object (File)
Fri, Dec 13, 7:43 PM
Unknown Object (File)
Oct 29 2024, 5:04 PM
Unknown Object (File)
Oct 12 2024, 10:30 AM
Unknown Object (File)
Oct 12 2024, 10:30 AM
Unknown Object (File)
Oct 12 2024, 10:30 AM
Unknown Object (File)
Oct 12 2024, 10:29 AM
Unknown Object (File)
Oct 12 2024, 10:19 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

dumbbell retitled this revision from to Keep keyboard mode and state and restore it when switching window.
dumbbell updated this object.
dumbbell edited the test plan for this revision. (Show Details)
dumbbell added reviewers: ray, emaste, nwhitehorn.
ray edited edge metadata.

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!

This revision is now accepted and ready to land.Sep 24 2014, 9:32 PM

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.

dumbbell edited edge metadata.

Use vt_{update,save}_kbd_{mode,state} in vterm_cngetc() too.

dumbbell updated this revision to Diff 1865.

Closed by commit rS272416 (authored by @dumbbell).