summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ui/cocoa.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 17e125d66d..3efa8ac1a9 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -1408,6 +1408,7 @@ static CGEventRef handleTapEvent(CGEventTapProxy proxy, CGEventType type, CGEven
 
     [[cocoaView window] setStyleMask:styleMask];
     [sender setState:styleMask & NSWindowStyleMaskResizable ? NSControlStateValueOn : NSControlStateValueOff];
+    [cocoaView resizeWindow];
 }
 
 - (void)toggleZoomInterpolation:(id) sender