2006-03-14 Eric Seidel <eseidel@apple.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Mar 2006 10:52:37 +0000 (10:52 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Mar 2006 10:52:37 +0000 (10:52 +0000)
        Reviewed by mjs.

        Make the URL bar relinquish focus on page load.

        * Spinneret/Spinneret/Spinneret.cpp:
        (MyEditProc):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13285 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Spinneret/Spinneret/Spinneret.cpp

index 6ec73b22df6c4025d41985ce5a0ddfd598c17e2a..eef054f669161c1cef98ea5b2a865333e1e25b47 100644 (file)
@@ -1,3 +1,12 @@
+2006-03-14  Eric Seidel  <eseidel@apple.com>
+
+        Reviewed by mjs.
+
+        Make the URL bar relinquish focus on page load.
+
+        * Spinneret/Spinneret/Spinneret.cpp:
+        (MyEditProc):
+
 2006-03-14  Eric Seidel  <eseidel@apple.com>
 
         Reviewed by mjs.
 2006-03-14  Eric Seidel  <eseidel@apple.com>
 
         Reviewed by mjs.
index 590952504d44325abb4820d4426076bdaa638417..e0edf4bfa3224554c24647431b8a8d3578e6003a 100755 (executable)
@@ -216,6 +216,7 @@ LRESULT CALLBACK MyEditProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPara
                 cstrPtr[x] = 0;
 
                 gWebView->mainFrame()->loadURL(cstrPtr);
                 cstrPtr[x] = 0;
 
                 gWebView->mainFrame()->loadURL(cstrPtr);
+                SetFocus(gWebView->windowHandle());
 
                 return 0;
             } else
 
                 return 0;
             } else