changeset 27884:ad43c827bf24

Remove a useless XGetGeometry call, the X11 event handling already takes care of this.
author reimar
date Sat, 15 Nov 2008 17:41:30 +0000
parents 96831cf06109
children 9829cfa41d6d
files libvo/vo_xv.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xv.c	Sat Nov 15 16:40:48 2008 +0000
+++ b/libvo/vo_xv.c	Sat Nov 15 17:41:30 2008 +0000
@@ -462,11 +462,6 @@
 
     if (e & VO_EVENT_RESIZE)
     {
-        XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &vo_dwidth,
-                     &vo_dheight, &drwBorderWidth, &drwDepth);
-        mp_msg(MSGT_VO, MSGL_V, "[xv] dx: %d dy: %d dw: %d dh: %d\n", drwX,
-               drwY, vo_dwidth, vo_dheight);
-
         calc_drwXY(&drwX, &drwY);
     }