mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
ximagesink: initialize mask for XISelectEvents
Fixes #3470 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6631>
This commit is contained in:
parent
8564118d2a
commit
ac40e6b592
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ gst_x_image_sink_xwindow_new (GstXImageSink * ximagesink, gint width,
|
||||||
#ifdef HAVE_XI2
|
#ifdef HAVE_XI2
|
||||||
if (ximagesink->xcontext->use_xi2) {
|
if (ximagesink->xcontext->use_xi2) {
|
||||||
XIEventMask mask_data;
|
XIEventMask mask_data;
|
||||||
unsigned char mask[2];
|
unsigned char mask[2] = { 0 };
|
||||||
|
|
||||||
gst_x_image_sink_xwindow_select_touch_events (ximagesink, xwindow);
|
gst_x_image_sink_xwindow_select_touch_events (ximagesink, xwindow);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue