Cocoa : correctly handle late events sent after window deactivate
[blender.git] / intern / ghost / intern / GHOST_WindowManager.h
index 3690ad41e2cd791880ab84895bc834c015002b63..6f48c7f4c9c76c1b65c3b76ebd9e199c49f4a271 100644 (file)
@@ -134,7 +134,14 @@ public:
         * interface above for this,
         */
        std::vector<GHOST_IWindow *> & getWindows();
-
+       
+       /**
+        * Finds the window associated with an OS window object/handle
+        * @param osWindow The OS window object/handle
+        * @return The associated window, null if none corresponds
+        */
+       virtual GHOST_IWindow* getWindowAssociatedWithOSWindow(void* osWindow);
+       
        /**
         * Return true if any windows has a modified status
         * @return True if any window has unsaved changes