src/video/SDL_video.c
changeset 7089 257fc4e541e1
parent 7046 8d5636aafd1c
child 7091 ff07fad908f8
--- a/src/video/SDL_video.c	Mon Apr 22 18:14:32 2013 -0700
+++ b/src/video/SDL_video.c	Mon Apr 22 18:14:55 2013 -0700
@@ -2029,6 +2029,19 @@
 }
 
 void
+SDL_OnWindowEnter(SDL_Window * window)
+{
+    if (_this->OnWindowEnter) {
+        _this->OnWindowEnter(_this, window);
+    }
+}
+
+void
+SDL_OnWindowLeave(SDL_Window * window)
+{
+}
+
+void
 SDL_OnWindowFocusGained(SDL_Window * window)
 {
     if (window->gamma && _this->SetWindowGammaRamp) {