commit e4fd47d3a1835ff2107b485a8f25358e8140c259
parent ccdcaa478f139736157da6bc7c648977027fac3c
Author: Drew DeVault <sir@cmpwn.com>
Date: Sat, 31 Mar 2018 10:49:06 -0400
Merge pull request #1682 from emersion/unmanaged-no-container
Make it clear that unmanaged views don't have a container
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;
}
}
}