dmuratshin 9 years ago
parent
commit
c76a157720
1 changed files with 1 additions and 1 deletions
  1. 1 1
      oxygine/src/core/oxygine.cpp

+ 1 - 1
oxygine/src/core/oxygine.cpp

@@ -629,8 +629,8 @@ namespace oxygine
                             newFocus = true;
                             newFocus = true;
                         if (focus != newFocus)
                         if (focus != newFocus)
                         {
                         {
-                            focus = newFocus;
 #if HANDLE_FOCUS_LOST
 #if HANDLE_FOCUS_LOST
+                            focus = newFocus;
 
 
                             if (focus)
                             if (focus)
                                 focusAcquired();
                                 focusAcquired();