|
@@ -1504,9 +1504,10 @@ static NSCursor *Cocoa_GetDesiredCursor(void)
|
|
|
if ([self windowOperationIsPending:PENDING_OPERATION_ZOOM]) {
|
|
|
[self clearPendingWindowOperation:PENDING_OPERATION_ZOOM];
|
|
|
[nswindow zoom:nil];
|
|
|
+ _data.was_zoomed = !_data.was_zoomed;
|
|
|
}
|
|
|
|
|
|
- if (![nswindow isZoomed]) {
|
|
|
+ if (!_data.was_zoomed) {
|
|
|
// Apply a pending window size, if not zoomed.
|
|
|
NSRect rect;
|
|
|
rect.origin.x = _data.pending_position ? window->pending.x : window->floating.x;
|