frame-maximize bug fixed for 10.4

svn: r419
This commit is contained in:
Matthew Flatt 2005-07-21 17:10:25 +00:00
parent 9c2e63fa4c
commit 3a752c0513

View File

@ -315,7 +315,7 @@ static OSStatus window_evt_handler(EventHandlerCallRef inHandlerCallRef,
n.right = n.left + (o.right - o.left); n.right = n.left + (o.right - o.left);
SetEventParameter(inEvent, kEventParamCurrentBounds, typeQDRectangle, SetEventParameter(inEvent, kEventParamCurrentBounds, typeQDRectangle,
sizeof(Rect), &n); sizeof(Rect), &n);
} else if (!(a & kWindowBoundsChangeUserResize)) { } else if (!(a & (kWindowBoundsChangeUserResize | kWindowBoundsChangeZoom))) {
Rect n, s, c; Rect n, s, c;
WindowRef w; WindowRef w;