[vlc-commits] [Git][videolan/vlc][master] Qt: wayland: ignore move event for deleted surface
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Fri Aug 30 05:11:31 UTC 2024
François Cartegnie pushed to branch master at VideoLAN / VLC
Commits:
5fa2f2d8 by François Cartegnie at 2024-08-30T04:47:05+00:00
Qt: wayland: ignore move event for deleted surface
refs #28759
- - - - -
1 changed file:
- modules/gui/qt/maininterface/compositor_wayland_module.c
Changes:
=====================================
modules/gui/qt/maininterface/compositor_wayland_module.c
=====================================
@@ -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);
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5fa2f2d8b76f59c633c15d69b83f4cd8e0a7d189
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5fa2f2d8b76f59c633c15d69b83f4cd8e0a7d189
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list