diff options
author | emersion <contact@emersion.fr> | 2018-03-31 10:39:05 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-31 10:39:05 -0400 |
commit | a44a71c116b3bc7fcc80628d3213e2612b701f6c (patch) | |
tree | c61bd0d6d59d31fedc4dc4f5dee161a71141153f /sway/input | |
parent | 8aa195e3116d7dbc897da50d2795e4a638c0b184 (diff) | |
download | sway-a44a71c116b3bc7fcc80628d3213e2612b701f6c.tar.xz |
Make it clear that unmanaged views don't have a container
view->swayc is NULL anyway.
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 6b8522bf..b5ba5136 100644 --- 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; } } } |