Mike Hearn <mike(a)theoretic.com> writes:
> + /* now set sync the X11 window rects to the win32 window rects,
> + so the shell tray code can properly align the icon */
> +
> +
> + XTranslateCoordinates(display, data->whole_window, root_window,
> + 0, 0, &x, &y, &child);
> + XGetWindowAttributes(display, data->whole_window, &attrs);
> +
> + wine_tsx11_unlock();
> +
> + r.left = x;
> + r.top = y;
> + r.right = r.left + attrs.width;
> + r.bottom = r.top + attrs.height;
> +
> + WIN_SetRectangles(hwnd, &r, &r);
This completely bypasses the normal window size handling, I don't
think that's a good idea. Positions changes should be handled by the
standard ConfigureNotify processing.
--
Alexandre Julliard
julliard(a)winehq.com