[MPlayer-dev-eng] vo_xmga - set_window() question
Attila Kinali
kinali at gmx.net
Thu Jan 3 17:52:10 CET 2002
Hi,
I'm trying to get vo_xmga Xinerama aware.
I looked a bit deeper into the code of vo_xmga and found following
lines from set_vindow()
---schnipp---
XGetGeometry( mDisplay,mWindow,&mRoot,&drwX,&drwY,&drwWidth,\
&drwHeight,&drwBorderWidth,&drwDepth );
drwX=0; drwY=0; // drwWidth=wndWidth; drwHeight=wndHeight;
XTranslateCoordinates( mDisplay,mWindow,mRoot,0,0,&drwcX,&drwcY,&mRoot);
---schnapp---
What is the sense behind getting drwX and drwY with XGetGeometry and
clearing them right after ?
And why is XTranslateCoordinates() used ?
Thanks for helping
Attila Kinali
--
I am a moslem, i am a terrorist.
More information about the MPlayer-dev-eng
mailing list