diff options
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index ae6a347870..242bc0b9cc 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -421,7 +421,11 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t if ( vo_window == None ) #endif { - XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask ); + XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask +#ifdef HAVE_NEW_INPUT + | ButtonPressMask | ButtonReleaseMask +#endif + ); } saver_off(mDisplay); return 0; |