src/video/windows/SDL_windowsevents.c
changeset 8253 75ad8ebb3768
parent 8218 cf153cc95173
child 8624 c87db33e4cae
--- a/src/video/windows/SDL_windowsevents.c	Mon Feb 24 22:37:58 2014 -0800
+++ b/src/video/windows/SDL_windowsevents.c	Mon Feb 24 22:49:30 2014 -0800
@@ -570,6 +570,20 @@
         break;
 #endif /* WM_INPUTLANGCHANGE */
 
+    case WM_NCLBUTTONDOWN:
+        {
+            data->in_title_click = SDL_TRUE;
+            WIN_UpdateClipCursor(data->window);
+        }
+        break;
+
+    case WM_NCMOUSELEAVE:
+        {
+            data->in_title_click = SDL_FALSE;
+            WIN_UpdateClipCursor(data->window);
+        }
+        break;
+
     case WM_ENTERSIZEMOVE:
     case WM_ENTERMENULOOP:
         {