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:
Drew DeVault 2018-03-31 10:49:06 -04:00 committed by GitHub
commit e4fd47d3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}
}