diff options
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r-- | libvo/vo_xmga.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index 86aeb07eca..206415b8e0 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -330,6 +330,13 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3 XSetNormalHints( mDisplay,mWindow,&hint ); XStoreName( mDisplay,mWindow,mTitle ); XMapWindow( mDisplay,mWindow ); + + XSelectInput(mDisplay, mWindow, StructureNotifyMask | KeyPressMask +#ifdef HAVE_NEW_INPUT + | ButtonPressMask | ButtonReleaseMask +#endif + ); + #ifdef HAVE_XINERAMA vo_x11_xinerama_move(mDisplay,mWindow); #endif |