# HG changeset patch # User reimar # Date 1226927521 0 # Node ID 73c7a62c1d35056fdf277083e64917d47cf223a9 # Parent 535e8e3803e92f625348ef6537c4b0be992af806 Remove a useless XGetGeometry call, the X11 event handling already updates vo_dwidth/vo_dheight. diff -r 535e8e3803e9 -r 73c7a62c1d35 libvo/vo_xvmc.c --- a/libvo/vo_xvmc.c Mon Nov 17 10:33:59 2008 +0000 +++ b/libvo/vo_xvmc.c Mon Nov 17 13:12:01 2008 +0000 @@ -1064,11 +1064,6 @@ { 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 )