diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-31 10:49:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-31 10:49:06 -0400 |
commit | e4fd47d3a1835ff2107b485a8f25358e8140c259 (patch) | |
tree | 6cb14a9b064bbad7b662c55933abeb7883852f6d | |
parent | Fix bug with previous commit (diff) | |
parent | Make it clear that unmanaged views don't have a container (diff) | |
download | sway-e4fd47d3a1835ff2107b485a8f25358e8140c259.tar.gz sway-e4fd47d3a1835ff2107b485a8f25358e8140c259.tar.zst sway-e4fd47d3a1835ff2107b485a8f25358e8140c259.zip |
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.c | 2 |
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, | |||
63 | *surface = xsurface->surface; | 63 | *surface = xsurface->surface; |
64 | *sx = cursor->x - box.x; | 64 | *sx = cursor->x - box.x; |
65 | *sy = cursor->y - box.y; | 65 | *sy = cursor->y - box.y; |
66 | return view->swayc; | 66 | return NULL; |
67 | } | 67 | } |
68 | } | 68 | } |
69 | } | 69 | } |