aboutsummaryrefslogtreecommitdiff
path: root/riverctl
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2023-01-12 11:57:56 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-01-12 14:44:55 +0100
commit615beab2e61e78493b8e871c87c3bd3dd41d1bb4 (patch)
treef1110a49669e558cef6c87643437e4305270e3de /riverctl
parent63610d9440e920e9089e51d5d09ca80794226392 (diff)
downloadriver-615beab2e61e78493b8e871c87c3bd3dd41d1bb4.tar.gz
river-615beab2e61e78493b8e871c87c3bd3dd41d1bb4.tar.xz
Seat: rework Xwayland Override Redirect focus
Instead of stashing the active view and setting Seat.focused to the Xwayland OR surface when a child OR surface of a currently focused Xwayland view is given keyboard focus, keep Seat.focused set to the Xwayland view. Such Override Redirect surfaces are commonly used for drop down menus and the like, and river should behave as if the parent Xwayland view still has focus. This ensures that the riverctl focus-view next/prev commands continue to work as expected while a popup is open, the correct focused view title will be sent over river status, etc. It's also cleaner to centralize this logic in XwaylandOverrideRedirect and keep it out of Seat.zig.
Diffstat (limited to 'riverctl')
0 files changed, 0 insertions, 0 deletions