mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gl/x11/navigation: add button press to the selected event mask
Otherwise we won't get the button press events and GstNavigation fails.
This commit is contained in:
parent
c2a6c97a1d
commit
d5913f3048
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue