summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xmga.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-21 13:28:39 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-21 13:28:39 +0000
commit2675ddee8db61f1e486a72a9765f6981f4804c21 (patch)
tree89bb2ddaa0c90346e831b9025fe3477cbcaafade /libvo/vo_xmga.c
parentc9fdd6b63092f06294c887b80861866cdcc3f276 (diff)
downloadmpv-2675ddee8db61f1e486a72a9765f6981f4804c21.tar.bz2
mpv-2675ddee8db61f1e486a72a9765f6981f4804c21.tar.xz
ExposureMask fixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4785 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r--libvo/vo_xmga.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index 206415b8e0..8daee3c69c 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -302,7 +302,7 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3
xWAttribs.colormap=XCreateColormap( mDisplay,RootWindow( mDisplay,mScreen ),vinfo.visual,AllocNone );
xWAttribs.background_pixel=0;
xWAttribs.border_pixel=0;
- xWAttribs.event_mask=StructureNotifyMask | ExposureMask | KeyPressMask;
+ xWAttribs.event_mask=StructureNotifyMask | ExposureMask | KeyPressMask | ButtonPressMask | ButtonReleaseMask;
xswamask=CWBackPixel | CWBorderPixel | CWColormap | CWEventMask;
if ( WinID>=0 ){
@@ -330,12 +330,6 @@ 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);