Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: [Cocoa] Web Inspector windows open in separate window …
…collection instead of on current stage when using Stage Manager https://bugs.webkit.org/show_bug.cgi?id=241521 rdar://91964707 Reviewed by Devin Rousso. For Stage Manager, the Web Inspector window should appear in the same workspace as the active Safari window. Currently the best way to accomplish this without negatively impacting our fullscreen behavior is to appear as if we are a preferences window with a toolbar and NSWindowToolbarStylePreference. By hiding the toolbar, there is no visual or functional change to Web Inspector, and we now get classified as an auxiliary window only in Stage Manager. * Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm: (WebKit::WebInspectorUIProxy::createFrontendWindow): * Source/WebKitLegacy/mac/WebCoreSupport/WebInspectorClient.mm: (-[WebInspectorWindowController window]): Canonical link: https://commits.webkit.org/251507@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information