summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index db98b3ed7e..14d6deaa50 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -207,7 +207,11 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
// bpp = myximage->bits_per_pixel;
//XSelectInput(mDisplay, mywindow, StructureNotifyMask); // !!!!
- XSelectInput(mDisplay, mywindow, StructureNotifyMask | KeyPressMask );
+ XSelectInput(mDisplay, mywindow, StructureNotifyMask | KeyPressMask
+#ifdef HAVE_NEW_INPUT
+ | ButtonPressMask | ButtonReleaseMask
+#endif
+ );
// printf("Window setup ok\n");