sway

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

commit 0db6f2ef58fe81375219f9cc2e650661f6bd02ce
parent e94fd0e6eb0ff65a37ec91ecd349e5a7aab755bb
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Tue, 24 Jul 2018 09:09:49 +1000

Fix some cases where the cursor doesn't update

cursor_set_image only uploads the named image if it doesn't match the
previous named image. This means when setting the cursor image to a
surface as given by a client, we have to clear the currently stored
image.

Diffstat:
Msway/input/cursor.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sway/input/cursor.c b/sway/input/cursor.c @@ -726,6 +726,7 @@ static void handle_request_set_cursor(struct wl_listener *listener, wlr_cursor_set_surface(cursor->cursor, event->surface, event->hotspot_x, event->hotspot_y); + cursor->image = NULL; cursor->image_client = focused_client; }