Make it clear that unmanaged views don't have a container

view->swayc is NULL anyway.
This commit is contained in:
emersion 2018-03-31 10:39:05 -04:00
parent 8aa195e311
commit a44a71c116
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions

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