commit a44a71c116b3bc7fcc80628d3213e2612b701f6c
parent 8aa195e3116d7dbc897da50d2795e4a638c0b184
Author: emersion <contact@emersion.fr>
Date: Sat, 31 Mar 2018 10:39:05 -0400
Make it clear that unmanaged views don't have a container
view->swayc is NULL anyway.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
@@ -63,7 +63,7 @@ static struct sway_container *container_at_cursor(struct sway_cursor *cursor,
*surface = xsurface->surface;
*sx = cursor->x - box.x;
*sy = cursor->y - box.y;
- return view->swayc;
+ return NULL;
}
}
}