sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit d8a96c9e4d758ac6659ed5c39fd2a86bc29d35bc
parent 4fbec701fcf1505d1c13d7f5d8b55264b8f07e4e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 11 Sep 2018 19:50:00 -0400

Merge pull request #2621 from emersion/fix-unmap-segfault

Don't use handler_context in view_unmap
Diffstat:
Msway/tree/view.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sway/tree/view.c b/sway/tree/view.c @@ -583,7 +583,10 @@ void view_unmap(struct sway_view *view) { workspace_detect_urgent(ws); } - cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true); + struct sway_seat *seat; + wl_list_for_each(seat, &input_manager->seats, link) { + cursor_send_pointer_motion(seat->cursor, 0, true); + } transaction_commit_dirty(); view->surface = NULL;