Merge pull request #1682 from emersion/unmanaged-no-container
Make it clear that unmanaged views don't have a container
This commit is contained in:
commit
e4fd47d3a1
|
@ -63,7 +63,7 @@ static struct sway_container *container_at_cursor(struct sway_cursor *cursor,
|
||||||
*surface = xsurface->surface;
|
*surface = xsurface->surface;
|
||||||
*sx = cursor->x - box.x;
|
*sx = cursor->x - box.x;
|
||||||
*sy = cursor->y - box.y;
|
*sy = cursor->y - box.y;
|
||||||
return view->swayc;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue