Reviewed by Eric.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Apr 2006 23:48:23 +0000 (23:48 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Apr 2006 23:48:23 +0000 (23:48 +0000)
commitd2b3e981a5a4b00b1bbe77d65b09c1b44c278bc7
tree6a50c0d3fac5c2629f40497b7335d8c622e3ff31
parente733e26a2e7cfa7c51412dd52743d092da91202c
    Reviewed by Eric.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=8514
        Bug 8514: Web Inspector hides when the app is in the background

        Makes the inspector not hide in the background. Since the inspector is a floating panel
        we need to call setFloatingPanel:NO when the app is switching into the background. Then
        call setFloatingPanel:YES when the app is activated again. Without this the inspector
        would float above all applications.

        * WebInspector/WebInspector.m:
        (-[NSWindow window]): setHidesOnDeactivate:NO
        (-[NSWindow windowWillClose:]): de-regiser appliction active notifications
        (-[NSWindow showWindow:]): register for appliction active notifications
        (-[WebInspector _applicationWillResignActive]): setFloatingPanel:NO
        (-[WebInspector _applicationDidBecomeActive]): setFloatingPanel:YES

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebInspector/WebInspector.m