Skip to content
Snippets Groups Projects
Commit 5fa2f2d8 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

Qt: wayland: ignore move event for deleted surface

refs #28759
parent 401d61d3
No related branches found
No related tags found
1 merge request!5939Qt: wayland: ignore move event for deleted surface
Pipeline #508282 passed with stage
in 11 minutes and 28 seconds
......@@ -150,6 +150,8 @@ static void Disable(qtwayland_t* obj)
static void Move(struct qtwayland_t* obj, int x, int y)
{
qtwayland_priv_t* sys = (qtwayland_priv_t*)obj->p_sys;
if(sys->video_subsurface == NULL)
return;
wl_subsurface_set_position(sys->video_subsurface, x, y);
wl_surface_commit(sys->video_surface);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment