j
k
j a
j l
Mike Hearn mike@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);
so the shell tray code can properly align the icon */
0, 0, &x, &y, &child);
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.
Show replies by date
wine-devel@winehq.org
Add to favorites Remove from favorites