river/river
Isaac Freund a7411ef2a6
PointerConstraint: fix assertion failure
The assertion in PointerConstraint.confine() can currently still be
triggered if the input region of a surface is changed and the pointer is
moved outside of the new intersection of input region and constraint
region before PointerConstraint.updateState() is called.

This can happen, for example, when a client is made non-fullscreen at
the same time as the pointer is moved across the boundary of the new,
post-fullscreen, input region. If the pointer crosses the boundary
before the transaction completes and updateState() is called, the
assertion in PointerConstraint.confine() will fail.

To fix this, listen for the surface commit event rather than the
set_region event to handle possible deactivation on region changes.
2024-07-10 12:16:42 +02:00
..
command build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
c.zig code: relicense to GPL-3.0-only 2022-01-31 19:33:22 +01:00
command.zig build: update to Zig 0.13.0 2024-06-07 14:01:30 +02:00
Config.zig Config: eliminate "self" naming convention 2024-03-14 12:40:13 +01:00
Control.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
Cursor.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
DragIcon.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
ForeignToplevelHandle.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
IdleInhibitManager.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
IdleInhibitor.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
InputConfig.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
InputDevice.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
InputManager.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
InputPopup.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
InputRelay.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
Keyboard.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
KeyboardGroup.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
LayerSurface.zig SceneNodeData: fix fromSurface() use after free 2024-06-13 12:36:00 +02:00
Layout.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
LayoutDemand.zig LayoutDemand: eliminate "self" naming convention 2024-03-14 12:59:42 +01:00
LayoutManager.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
LockManager.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
LockSurface.zig SceneNodeData: fix fromSurface() use after free 2024-06-13 12:36:00 +02:00
main.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
Mapping.zig Mapping: eliminate "self" naming convention 2024-03-14 12:22:15 +01:00
Mode.zig Mode: eliminate "self" naming convention 2024-03-14 13:00:15 +01:00
Output.zig Output: fix Wayland backend support 2024-07-01 12:27:16 +02:00
OutputStatus.zig OutputStatus: rework implementation 2023-02-28 18:28:17 +01:00
PointerConstraint.zig PointerConstraint: fix assertion failure 2024-07-10 12:16:42 +02:00
PointerMapping.zig PointerMapping: eliminate "self" naming convention 2024-03-14 12:58:50 +01:00
process.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
Root.zig Output: flag gamma as dirty on enable 2024-06-24 19:29:19 +02:00
rule_list.zig RuleList: eliminate "self" naming convention 2024-03-14 13:07:58 +01:00
SceneNodeData.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
Seat.zig layer-shell: fix on_demand keyboard focus 2024-07-02 15:03:22 +02:00
SeatStatus.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
Server.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
StatusManager.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
Switch.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
SwitchMapping.zig SwitchMapping: eliminate "self" naming convention 2024-03-14 13:02:38 +01:00
Tablet.zig tablet-v2: implement tablet tool support 2024-03-11 15:05:42 +01:00
TabletTool.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
TextInput.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
util.zig river: raise the file descriptor limit 2024-04-08 16:24:51 +02:00
Vector.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
View.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
wlroots_log_wrapper.c build: update to Zig 0.11.0 2023-10-16 16:27:03 +02:00
XdgDecoration.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
XdgPopup.zig XdgPopup: send configure after initial commit 2024-07-01 12:55:35 +02:00
XdgToplevel.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
XwaylandOverrideRedirect.zig build: update to Zig 0.12 2024-05-20 11:35:36 +02:00
XwaylandView.zig Xwayland: fix unsound cast 2024-06-25 12:24:25 +02:00