changeset 27912:73c7a62c1d35

Remove a useless XGetGeometry call, the X11 event handling already updates vo_dwidth/vo_dheight.
author reimar
date Mon, 17 Nov 2008 13:12:01 +0000
parents 535e8e3803e9
children 7f579d5a91e0
files libvo/vo_xvmc.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 )