diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-20 10:02:29 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-20 10:02:29 +0000 |
commit | ac29aba0122063ab95f3ca134660566b1f1f8beb (patch) | |
tree | d44fa75980d25875bd3d12b6c9eb4e7661deb165 /libvo/vo_xmga.c | |
parent | fce878f1b26318bc003caff0840de30d55d8229c (diff) | |
download | mpv-ac29aba0122063ab95f3ca134660566b1f1f8beb.tar.bz2 mpv-ac29aba0122063ab95f3ca134660566b1f1f8beb.tar.xz |
add new input cucc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4763 b3059339-0415-0410-9bf9-f77b7e298cf2
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 |