From b0ae7a6957be95fe811151afaa8ee9dd390a8b04 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 21 Apr 2013 17:39:10 +0200 Subject: [PATCH] Added refresh event for resize on OS X. --- src/cocoa_window.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index de5cc3ea..407c77ab 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -80,6 +80,7 @@ static void resetMouseCursor(_GLFWwindow *window) int width, height; _glfwPlatformGetWindowSize(window, &width, &height); _glfwInputWindowSize(window, width, height); + _glfwInputWindowDamage(window); resetMouseCursor(window); }