Title: [104154] trunk/Tools
Revision
104154
Author
[email protected]
Date
2012-01-05 06:56:15 -0800 (Thu, 05 Jan 2012)

Log Message

Make WinLauncher's window frame respond to clicks/drags again

Fixes <http://webkit.org/b/75562> REGRESSION (r84990): Can't drag WinLauncher by its title
bar when Aero is disabled

Reviewed by Brent Fulgham.

* WinLauncher/WinLauncher.cpp:
(WndProc): Always call up to our parent wndproc when we don't handle WM_NCHITTEST ourselves.
Also removed an unnecessary "break" keyword.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (104153 => 104154)


--- trunk/Tools/ChangeLog	2012-01-05 14:52:23 UTC (rev 104153)
+++ trunk/Tools/ChangeLog	2012-01-05 14:56:15 UTC (rev 104154)
@@ -1,5 +1,18 @@
 2012-01-04  Adam Roben  <[email protected]>
 
+        Make WinLauncher's window frame respond to clicks/drags again
+
+        Fixes <http://webkit.org/b/75562> REGRESSION (r84990): Can't drag WinLauncher by its title
+        bar when Aero is disabled
+
+        Reviewed by Brent Fulgham.
+
+        * WinLauncher/WinLauncher.cpp:
+        (WndProc): Always call up to our parent wndproc when we don't handle WM_NCHITTEST ourselves.
+        Also removed an unnecessary "break" keyword.
+
+2012-01-04  Adam Roben  <[email protected]>
+
         Turn WinLauncher into a stub .exe launcher and a .dll that contains all the real code
 
         This allows us to add the Apple Application Support directory to PATH before trying to load

Modified: trunk/Tools/WinLauncher/WinLauncher.cpp (104153 => 104154)


--- trunk/Tools/WinLauncher/WinLauncher.cpp	2012-01-05 14:52:23 UTC (rev 104153)
+++ trunk/Tools/WinLauncher/WinLauncher.cpp	2012-01-05 14:56:15 UTC (rev 104154)
@@ -526,10 +526,8 @@
 
             if ((y > window.top) && (y < window.top + dragBarHeight))
                 return HTCAPTION;
-
-            return CallWindowProc(parentProc, hWnd, message, wParam, lParam);
         }
-        break;
+        return CallWindowProc(parentProc, hWnd, message, wParam, lParam);
     case WM_COMMAND: {
         int wmId = LOWORD(wParam);
         int wmEvent = HIWORD(wParam);
@@ -560,7 +558,6 @@
         break;
     default:
         return CallWindowProc(parentProc, hWnd, message, wParam, lParam);
-        break;
     }
 
     return 0;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to