mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
Make it clear that unmanaged views don't have a container
view->swayc is NULL anyway.
This commit is contained in:
parent
8aa195e311
commit
a44a71c116
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue