Isaac Freund 615beab2e6
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.
2023-01-12 14:44:55 +01:00
..
2023-01-08 16:21:42 +01:00
2022-01-31 19:33:22 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 16:21:42 +01:00
2022-12-30 23:20:18 +01:00
2022-11-13 16:16:07 +01:00
2022-11-13 16:16:07 +01:00
2023-01-08 16:21:42 +01:00
2022-12-31 19:27:18 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 17:01:14 +01:00
2022-11-25 14:06:31 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 16:21:42 +01:00
2022-11-13 16:16:07 +01:00
2022-01-31 19:33:22 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 16:21:42 +01:00
2023-01-08 16:21:42 +01:00