diff options
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index c985c6dd0a6..bbf8efeaee3 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -730,11 +730,9 @@ GHOST_Event* GHOST_SystemWin32::processWindowEvent(GHOST_TEventType type, GHOST_ { GHOST_System* system = (GHOST_System*)getSystem(); - if (type == GHOST_kEventWindowActivate) - { - puts("activating window"); + if (type == GHOST_kEventWindowActivate) { system->getWindowManager()->setActiveWindow(window); - } + } return new GHOST_Event(system->getMilliSeconds(), type, window); } |