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
This commit is contained in:
reimar 2008-11-15 17:41:30 +00:00
parent 18fac2d947
commit 252f6d5093
1 changed files with 0 additions and 5 deletions

View File

@ -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);
}