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)
Jan 14 2024, 10:18 PM
Unknown Object (File)
Dec 31 2023, 8:41 AM
Unknown Object (File)
Dec 30 2023, 11:46 PM
Unknown Object (File)
Dec 20 2023, 11:12 AM
Unknown Object (File)
Nov 23 2023, 1:31 AM
Unknown Object (File)
Sep 1 2023, 1:41 AM
Unknown Object (File)
Jul 9 2023, 7:16 PM
Unknown Object (File)
Jun 13 2023, 6:38 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).