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
Failed to generate hash of commit

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