-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Viewports: moved Platform_GetWindowFocus queries in UpdateViewportsNe…
…wFrame(). Added ImGuiViewportFlags_IsFocused status flag. (#1542) Not sure why queries were in UpdatePlatformWindows(). - initially added there on 2018/04/26 f1ae07e (squashed) - slightly moved in cd51f37 for the purpose of putting less constraint on backend but that check is now done on our side anyhow. Seems more consistent to do it nxt to other polling in UpdateViewportsNewFrame(). Not using ImGuiViewportFlags_IsFocused yet.
- Loading branch information
Showing
2 changed files
with
41 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters