Skip to content

Commit 77b557a

Browse files
committed
Fix: frameless window not draggable after resizing
cherry-pick https://chromiumcodereview.appspot.com/12314115/
1 parent 8e7fc3f commit 77b557a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/browser/native_window_mac.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@ - (NSRect)contentRectForFrameRect:(NSRect)frameRect {
932932
webViewHeight - iter->bottom(),
933933
iter->width(),
934934
iter->height())];
935+
[controlRegion setAutoresizingMask:NSViewWidthSizable|NSViewHeightSizable];
935936
[webView addSubview:controlRegion];
936937
}
937938
}

0 commit comments

Comments
 (0)