Remove a useless XGetGeometry call, the X11 event handling already

updates vo_dwidth/vo_dheight.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27946 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-11-17 13:12:01 +00:00
parent f76cb1f891
commit 330e951cf0
1 changed files with 0 additions and 5 deletions

View File

@ -1064,11 +1064,6 @@ int e=vo_x11_check_events(mDisplay);
{
e |= VO_EVENT_EXPOSE;
XGetGeometry( mDisplay,vo_window,&mRoot,&drwX,&drwY,&vo_dwidth,&vo_dheight,
&drwBorderWidth,&drwDepth );
mp_msg(MSGT_VO,MSGL_V, "[xvmc] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,
vo_dwidth,vo_dheight );
calc_drwXY(&drwX, &drwY);
}
if ( e & VO_EVENT_EXPOSE )