aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-31 10:49:06 -0400
committerGitHub <noreply@github.com>2018-03-31 10:49:06 -0400
commite4fd47d3a1835ff2107b485a8f25358e8140c259 (patch)
tree6cb14a9b064bbad7b662c55933abeb7883852f6d
parentccdcaa478f139736157da6bc7c648977027fac3c (diff)
parenta44a71c116b3bc7fcc80628d3213e2612b701f6c (diff)
Merge pull request #1682 from emersion/unmanaged-no-container
Make it clear that unmanaged views don't have a container
-rw-r--r--sway/input/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 75c98836..f558a37a 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;
}
}
}