Mercurial > mplayer.hg
diff libvo/vo_x11.c @ 4658:93d562ad1c22
Added new input mouse support in x11 vo
author | albeu |
---|---|
date | Mon, 11 Feb 2002 11:44:50 +0000 |
parents | b7f340349470 |
children | 4df2400b0527 |
line wrap: on
line diff
--- a/libvo/vo_x11.c Mon Feb 11 11:42:08 2002 +0000 +++ b/libvo/vo_x11.c Mon Feb 11 11:44:50 2002 +0000 @@ -421,7 +421,11 @@ 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;