[MPlayer-cvslog] r27918 - trunk/libvo/vo_xv.c
Ivan Kalvachev
ikalvachev at gmail.com
Sun Nov 16 18:32:42 CET 2008
On 11/15/08, reimar <subversion at mplayerhq.hu> wrote:
> Author: reimar
> Date: Sat Nov 15 18:41:30 2008
> New Revision: 27918
>
> Log:
> Remove a useless XGetGeometry call, the X11 event handling already takes
> care of this.
>
>
> Modified:
> trunk/libvo/vo_xv.c
>
> Modified: trunk/libvo/vo_xv.c
> ==============================================================================
> --- trunk/libvo/vo_xv.c (original)
> +++ trunk/libvo/vo_xv.c Sat Nov 15 18:41:30 2008
> @@ -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);
> }
This doesn't looks right.
Would you please give more detailed explanation of these changes?
Do you mean that vo_x11_check_events() function handles this? I doubt that.
More information about the MPlayer-cvslog
mailing list