mirror of https://github.com/mpv-player/mpv
Remove a useless XGetGeometry call, the X11 event handling already
updates vo_dwidth/vo_dheight. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27946 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f76cb1f891
commit
330e951cf0
|
@ -1064,11 +1064,6 @@ int e=vo_x11_check_events(mDisplay);
|
|||
{
|
||||
e |= VO_EVENT_EXPOSE;
|
||||
|
||||
XGetGeometry( mDisplay,vo_window,&mRoot,&drwX,&drwY,&vo_dwidth,&vo_dheight,
|
||||
&drwBorderWidth,&drwDepth );
|
||||
mp_msg(MSGT_VO,MSGL_V, "[xvmc] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,
|
||||
vo_dwidth,vo_dheight );
|
||||
|
||||
calc_drwXY(&drwX, &drwY);
|
||||
}
|
||||
if ( e & VO_EVENT_EXPOSE )
|
||||
|
|
Loading…
Reference in New Issue