mirror of https://github.com/mpv-player/mpv
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:
parent
18fac2d947
commit
252f6d5093
|
@ -462,11 +462,6 @@ static void check_events(void)
|
||||||
|
|
||||||
if (e & VO_EVENT_RESIZE)
|
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);
|
calc_drwXY(&drwX, &drwY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue