Mercurial > mplayer.hg
diff libvo/vo_xmga.c @ 4762:81b8518d11ed
add new input cucc
author | pontscho |
---|---|
date | Wed, 20 Feb 2002 10:02:29 +0000 |
parents | c35d7ce151b3 |
children | 64be405bab7b |
line wrap: on
line diff
--- a/libvo/vo_xmga.c Wed Feb 20 00:19:47 2002 +0000 +++ b/libvo/vo_xmga.c Wed Feb 20 10:02:29 2002 +0000 @@ -330,6 +330,13 @@ 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