summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 17:41:30 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 17:41:30 +0000
commit252f6d5093b732e3762e97348af4e8599d09a999 (patch)
tree1be6e34a767995576e60eb7d36a793cbaa27bdbe /libvo
parent18fac2d9475e3292a8f7273a6811710f2539cd6b (diff)
downloadmpv-252f6d5093b732e3762e97348af4e8599d09a999.tar.bz2
mpv-252f6d5093b732e3762e97348af4e8599d09a999.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c5
1 files changed, 0 insertions, 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);
}