sway

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

commit 66ae58d62a03d8e301263bbe6243855402203293
parent 09f3f7b75ffb5e73fc28f889d27900e896f8396f
Author: mwenzkowski <29407878+mwenzkowski@users.noreply.github.com>
Date:   Sun, 28 Oct 2018 17:33:27 +0100

cursor: fix uninitialized pointer in cursor_rebase

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

diff --git a/sway/input/cursor.c b/sway/input/cursor.c @@ -585,7 +585,7 @@ static void cursor_do_rebase(struct sway_cursor *cursor, uint32_t time_msec, void cursor_rebase(struct sway_cursor *cursor) { uint32_t time_msec = get_current_time_msec(); - struct wlr_surface *surface; + struct wlr_surface *surface = NULL; double sx, sy; cursor->previous.node = node_at_coords(cursor->seat, cursor->cursor->x, cursor->cursor->y, &surface, &sx, &sy);