Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4761:bc69f5fc18fe | 4762:81b8518d11ed |
---|---|
328 hint.base_width=wndWidth; hint.base_height=wndHeight; | 328 hint.base_width=wndWidth; hint.base_height=wndHeight; |
329 hint.flags=USPosition | USSize; | 329 hint.flags=USPosition | USSize; |
330 XSetNormalHints( mDisplay,mWindow,&hint ); | 330 XSetNormalHints( mDisplay,mWindow,&hint ); |
331 XStoreName( mDisplay,mWindow,mTitle ); | 331 XStoreName( mDisplay,mWindow,mTitle ); |
332 XMapWindow( mDisplay,mWindow ); | 332 XMapWindow( mDisplay,mWindow ); |
333 | |
334 XSelectInput(mDisplay, mWindow, StructureNotifyMask | KeyPressMask | |
335 #ifdef HAVE_NEW_INPUT | |
336 | ButtonPressMask | ButtonReleaseMask | |
337 #endif | |
338 ); | |
339 | |
333 #ifdef HAVE_XINERAMA | 340 #ifdef HAVE_XINERAMA |
334 vo_x11_xinerama_move(mDisplay,mWindow); | 341 vo_x11_xinerama_move(mDisplay,mWindow); |
335 #endif | 342 #endif |
336 mGC=XCreateGC( mDisplay,mWindow,GCForeground,&wGCV ); | 343 mGC=XCreateGC( mDisplay,mWindow,GCForeground,&wGCV ); |
337 #ifdef HAVE_NEW_GUI | 344 #ifdef HAVE_NEW_GUI |