Re: XEMBED System tray support
1 Jul
2003
1 Jul
'03
2:35 a.m.
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
8201
Age (days ago)
8201
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard