Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4657:610a11e4db36 | 4658:93d562ad1c22 |
---|---|
419 | 419 |
420 #ifdef HAVE_NEW_GUI | 420 #ifdef HAVE_NEW_GUI |
421 if ( vo_window == None ) | 421 if ( vo_window == None ) |
422 #endif | 422 #endif |
423 { | 423 { |
424 XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask ); | 424 XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask |
425 #ifdef HAVE_NEW_INPUT | |
426 | ButtonPressMask | ButtonReleaseMask | |
427 #endif | |
428 ); | |
425 } | 429 } |
426 saver_off(mDisplay); | 430 saver_off(mDisplay); |
427 return 0; | 431 return 0; |
428 } | 432 } |
429 | 433 |