From 252f6d5093b732e3762e97348af4e8599d09a999 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 15 Nov 2008 17:41:30 +0000 Subject: [PATCH] Remove a useless XGetGeometry call, the X11 event handling already takes care of this. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27918 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xv.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 1019036476..6949c00f0a 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -462,11 +462,6 @@ static void check_events(void) 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); }