river/river
Isaac Freund f511a34ded
session-lock: fix assertion failure due to race
There's currently a potential race in the implementation that can be hit
during unlocking. This is not a security vulnerability, but it does
cause the compositor to crash due to a failed assertion.

This commit simplifies the code and fixes the race as well as tightening
up the assertions around this state/control flow even further.
2023-01-07 14:58:28 +01:00
..
command render: premultiply alpha for user-provided colors 2023-01-06 17:14:52 +01:00
c.zig code: relicense to GPL-3.0-only 2022-01-31 19:33:22 +01:00
command.zig river: add keyboard-layout command 2022-12-28 20:20:36 +01:00
Config.zig render: premultiply alpha for user-provided colors 2023-01-06 17:14:52 +01:00
Control.zig river-control: update zig-wayland to fix leak 2022-12-31 23:22:47 +01:00
Cursor.zig Rework focus-follows-cursor to work with warp 2023-01-01 18:05:41 +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 session-lock: handle output unplugging better 2022-11-13 16:45:18 +01:00
Layout.zig layout: fix size of CSD views 2022-12-31 19:27:18 +01:00
LayoutDemand.zig layout: fix size of CSD views 2022-12-31 19:27:18 +01:00
LayoutManager.zig river: advertise correct version of layout protocol 2022-08-19 00:04:16 +02:00
LockManager.zig session-lock: wait for present before locking 2023-01-06 18:51:40 +01:00
LockSurface.zig session-lock: send wl_pointer.enter immediately 2022-11-13 16:45:18 +01:00
main.zig flags: automatically prepend '-' 2022-12-28 22:11: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 session-lock: fix assertion failure due to race 2023-01-07 14:58:28 +01:00
Root.zig touch: support drag and drop 2022-12-30 23:20:18 +01:00
Seat.zig touch: support drag and drop 2022-12-30 23:20:18 +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 river: support wp-single-pixel-buffer-v1 2022-12-24 20:14:30 +01:00
StatusManager.zig river-status: correctly advertise version 4 2022-12-02 15:19:13 +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 Config: use a single xkb keymap for all keyboards 2022-12-30 23:20:02 +01:00
view_stack.zig code: relicense to GPL-3.0-only 2022-01-31 19:33:22 +01:00
View.zig command/spawn-tagmask: apply globally 2023-01-02 00:58:25 +01:00
VoidView.zig river: update to wlroots 0.16 2022-11-13 16:16:07 +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 session-lock: handle output unplugging better 2022-11-13 16:45:18 +01:00
XwaylandView.zig View: honor fullscreen requests before map 2022-12-24 03:06:53 +01:00