diff --git a/gst-libs/gst/gl/x11/gstglwindow_x11.c b/gst-libs/gst/gl/x11/gstglwindow_x11.c index 43387ac687..a3308252e9 100644 --- a/gst-libs/gst/gl/x11/gstglwindow_x11.c +++ b/gst-libs/gst/gl/x11/gstglwindow_x11.c @@ -500,7 +500,8 @@ gst_gl_window_x11_handle_events (GstGLWindow * window, gboolean handle_events) if (handle_events) { XSelectInput (window_x11->device, window_x11->internal_win_id, StructureNotifyMask | ExposureMask | VisibilityChangeMask | - PointerMotionMask | KeyPressMask | KeyReleaseMask); + PointerMotionMask | KeyPressMask | KeyReleaseMask | ButtonPressMask | + ButtonReleaseMask); } else { XSelectInput (window_x11->device, window_x11->internal_win_id, StructureNotifyMask | ExposureMask | VisibilityChangeMask);