Quellcode durchsuchen

Fixed the cursor clip rect when toggling window borders on macOS

Sam Lantinga vor 6 Monaten
Ursprung
Commit
ef23ebfb5a
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/video/cocoa/SDL_cocoawindow.m

+ 1 - 0
src/video/cocoa/SDL_cocoawindow.m

@@ -2781,6 +2781,7 @@ void Cocoa_SetWindowBordered(SDL_VideoDevice *_this, SDL_Window *window, bool bo
         } else {
             data.border_toggled = true;
         }
+        Cocoa_UpdateClipCursor(window);
     }
 }