mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
types/scene: assert scene surface in scene_buffer_point_accepts_input
This commit is contained in:
parent
b18aec3625
commit
a79f7096a6
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ static bool scene_buffer_point_accepts_input(struct wlr_scene_buffer *scene_buff
|
|||
double *sx, double *sy) {
|
||||
struct wlr_scene_surface *scene_surface =
|
||||
wlr_scene_surface_try_from_buffer(scene_buffer);
|
||||
assert(scene_surface);
|
||||
|
||||
*sx += scene_surface->clip.x;
|
||||
*sy += scene_surface->clip.y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue