All pastes #1632782 Raw Edit

Untitled

public text v1 · immutable
#1632782 ·published 2009-10-20 15:00 UTC
rendered paste body
Index: blender/intern/ghost/intern/GHOST_WindowCocoa.mm
===================================================================
--- blender/intern/ghost/intern/GHOST_WindowCocoa.mm	(revision 23999)
+++ blender/intern/ghost/intern/GHOST_WindowCocoa.mm	(working copy)
@@ -109,6 +109,7 @@
 
 - (void)windowDidUpdate:(NSNotification *)notification
 {
+	printf("Received window update notification from Cocoa");
 	systemCocoa->handleWindowEvent(GHOST_kEventWindowUpdate, associatedWindow);
 }
 
@@ -118,6 +119,7 @@
 	if (![[notification object] inLiveResize]) {
 		//Send event only once, at end of resize operation (when user has released mouse button)
 #endif
+		printf("\nReceived window resize notification from Cocoa");
 		systemCocoa->handleWindowEvent(GHOST_kEventWindowSize, associatedWindow);
 #ifdef MAC_OS_X_VERSION_10_6
 	}