Page MenuHomeFreeBSD

vt: Forward mouse wheel events to applications
AcceptedPublic

Authored by fan on Sat, Sep 12, 9:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 17, 7:35 PM
Unknown Object (File)
Thu, Sep 17, 12:43 PM
Unknown Object (File)
Wed, Sep 16, 8:59 PM
Unknown Object (File)
Tue, Sep 15, 4:41 PM
Unknown Object (File)
Mon, Sep 14, 9:28 PM
Unknown Object (File)
Mon, Sep 14, 11:25 AM
Unknown Object (File)
Sun, Sep 13, 11:26 PM
Unknown Object (File)
Sun, Sep 13, 6:33 PM

Details

Reviewers
lwhsu
emaste
ray
Summary

This commit forwards mouse wheel events to applications. It propagates the z wheel delta from sysmouse through vt_mouse_event() and emits wheel buttons 64 and 65 specific in legacy xterm mode 1000.

This was tested with applications that accept the legacy mode, including tmux and less.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76789
Build 73672: arc lint + arc unit