aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-31 10:49:06 -0400
committerLibravatar GitHub <noreply@github.com>2018-03-31 10:49:06 -0400
commite4fd47d3a1835ff2107b485a8f25358e8140c259 (patch)
tree6cb14a9b064bbad7b662c55933abeb7883852f6d /sway/input/cursor.c
parentFix bug with previous commit (diff)
parentMake it clear that unmanaged views don't have a container (diff)
downloadsway-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
Diffstat (limited to 'sway/input/cursor.c')
-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,
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 }