Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
input: Propagate modifiers to clients with only pointer focus
When focus_follows_mouse is off, it is possible to hover and/or scroll windows without giving them keyboard focus. However, attempts to use Ctrl+scroll on such clients will not work correctly because the keyboard modifiers are not available. This patch propagates modifier state to the client with pointer focus before sending axis events. This depends on https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4523. https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/259 discusses permitting this behavior at the protocol level.
- Loading branch information