]> git.mdlowis.com Git - proto/labwc.git/commit
view: fix regression whereby cursor is not updated
authorJohan Malm <jgm323@gmail.com>
Fri, 19 Jan 2024 20:27:23 +0000 (20:27 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 19 Jan 2024 20:37:23 +0000 (20:37 +0000)
commitf73e9ded1c8df004acead9a3cfc5ec0fbf3a68d6
tree4cb14d0c98894a74e88c64ab48b0dfcfe04eba44
parentc0668210463ef0a58c1b397af4cf0b2571db8170
view: fix regression whereby cursor is not updated

...on view destruction because focus_change_notify() in seat.c changes
server->active_view so the logic introduced by 6c6e406 (which checks if
view =! active_view) is no longer right.

The glitches described in the commit below have not come back.
https://github.com/labwc/labwc/commit/6c6e406507bfb0e9a809b74029b5b05b5a095768

Fixes #1393
src/view.c