diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-02 13:58:30 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-02 13:58:30 +0300 |
commit | ad4e1df46bc603616f7992ffe320e42528d13989 (patch) | |
tree | 1b5de60bd0abe0d6643b88a54ca54ecdb68eb2b0 /intern | |
parent | a167816d8bd312667e81a99a92cfbaa95924a752 (diff) |
2.5
Bugfix in OSX ghost!
The GHOST_TWindowState was set to 'invisble' always... which is a
state now handled correctly in Blender. It caused the window to not
refresh when resizing.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCarbon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCarbon.cpp b/intern/ghost/intern/GHOST_WindowCarbon.cpp index 68cd03026d8..ba094501fe5 100644 --- a/intern/ghost/intern/GHOST_WindowCarbon.cpp +++ b/intern/ghost/intern/GHOST_WindowCarbon.cpp @@ -326,7 +326,7 @@ GHOST_TWindowState GHOST_WindowCarbon::getState() const { GHOST_ASSERT(getValid(), "GHOST_WindowCarbon::getState(): window invalid") GHOST_TWindowState state; - if (::IsWindowVisible(m_windowRef)) { + if (::IsWindowVisible(m_windowRef) == false) { state = GHOST_kWindowStateMinimized; } else if (::IsWindowInStandardState(m_windowRef, nil, nil)) { |