river/river
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
..
command deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
c.zig code: relicense to GPL-3.0-only 2022-01-31 19:33:22 +01:00
command.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
Config.zig render: premultiply alpha for user-provided colors 2023-01-06 17:14:52 +01:00
Control.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
Cursor.zig Seat: rework Xwayland Override Redirect focus 2023-01-12 14:44:55 +01:00
Decoration.zig code: Cleanup use of std library for consistancy 2022-02-08 12:02:05 +01:00
DecorationManager.zig code: relicense to GPL-3.0-only 2022-01-31 19:33:22 +01:00
DragIcon.zig touch: support drag and drop 2022-12-30 23:20:18 +01:00
IdleInhibitor.zig idle-inhibit: implement protocol 2022-05-11 14:14:01 +02:00
IdleInhibitorManager.zig idle: support ext-idle-notify-v1, drop KDE protocol 2022-12-24 18:18:09 +01:00
InputConfig.zig river: update to wlroots 0.16 2022-11-13 16:16:07 +01:00
InputDevice.zig river: update to wlroots 0.16 2022-11-13 16:16:07 +01:00
InputManager.zig idle: support ext-idle-notify-v1, drop KDE protocol 2022-12-24 18:18:09 +01:00
Keyboard.zig Config: use a single xkb keymap for all keyboards 2022-12-30 23:20:02 +01:00
KeyboardGroup.zig river: update to wlroots 0.16 2022-11-13 16:16:07 +01:00
KeycodeSet.zig Seat: avoid leaking eaten keys to client on focus 2022-05-29 23:12:21 +02:00
LayerSurface.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
Layout.zig layout: fix size of CSD views 2022-12-31 19:27:18 +01:00
LayoutDemand.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
LayoutManager.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
LockManager.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
LockSurface.zig session-lock: send wl_pointer.enter immediately 2022-11-13 16:45:18 +01:00
main.zig flags: further cleanup after Zig 0.10 2023-01-08 17:01:14 +01:00
Mapping.zig command/map: use flags.zig, cleanup 2022-12-28 21:56:42 +01:00
Mode.zig map-pointer: minor fixes and cleanups 2022-11-25 14:06:31 +01:00
Output.zig session-lock: fix assertion failure due to race 2023-01-07 14:58:28 +01:00
OutputStatus.zig river-status: expose current layout name 2022-12-01 15:51:00 +01:00
PointerConstraint.zig river: update to wlroots 0.16 2022-11-13 16:16:07 +01:00
PointerMapping.zig map-pointer: minor fixes and cleanups 2022-11-25 14:06:31 +01:00
render.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
Root.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
Seat.zig Seat: rework Xwayland Override Redirect focus 2023-01-12 14:44:55 +01:00
SeatStatus.zig river-status: only send mode event if client bound version 3 2022-06-02 12:21:57 +02:00
Server.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
StatusManager.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
Subsurface.zig session-lock: handle output unplugging better 2022-11-13 16:45:18 +01:00
Switch.zig river: update to wlroots 0.16 2022-11-13 16:16:07 +01:00
SwitchMapping.zig input: add map-switch/unmap-switch commands 2022-04-14 12:49:47 +02:00
test_main.zig code: relicense to GPL-3.0-only 2022-01-31 19:33:22 +01:00
util.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
view_stack.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
View.zig deps: update to Zig 0.10 2023-01-08 16:21:42 +01:00
wlroots_log_wrapper.c river: add custom wlroots log handler 2021-07-25 01:22:36 +02:00
XdgPopup.zig ext-session-lock: implement protocol 2022-11-13 16:45:18 +01:00
XdgToplevel.zig View: honor fullscreen requests before map 2022-12-24 03:06:53 +01:00
XwaylandOverrideRedirect.zig Seat: rework Xwayland Override Redirect focus 2023-01-12 14:44:55 +01:00
XwaylandView.zig Seat: rework Xwayland Override Redirect focus 2023-01-12 14:44:55 +01:00