diff options
author | falkTX <falktx@gmail.com> | 2014-05-22 14:00:13 +0100 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2014-05-22 14:00:13 +0100 |
commit | f187108634f98b0b7fb944dc9ab03c78ccd533e3 (patch) | |
tree | b83358230f9e9dad53cae05490aa7824832df4db /distrho/src | |
parent | ceb11de02d75c5e4d80e952945ea5ae23fa0b2ed (diff) |
More docs; Make widget events structs; Misc fixes
Diffstat (limited to 'distrho/src')
-rw-r--r-- | distrho/src/DistrhoDefines.h | 2 | ||||
-rw-r--r-- | distrho/src/DistrhoUIInternal.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/distrho/src/DistrhoDefines.h b/distrho/src/DistrhoDefines.h index e9cea2cc..461dbc3b 100644 --- a/distrho/src/DistrhoDefines.h +++ b/distrho/src/DistrhoDefines.h @@ -51,7 +51,7 @@ # define PROPER_CPP11_SUPPORT #elif __cplusplus >= 201103L || (defined(__GNUC__) && defined(__GXX_EXPERIMENTAL_CXX0X__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 405) || __has_extension(cxx_noexcept) # define PROPER_CPP11_SUPPORT -# if (defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) < 407) || ! __has_extension(cxx_override_control) +# if (defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) < 407) && ! __has_extension(cxx_override_control) # define override // gcc4.7+ only # define final // gcc4.7+ only # endif diff --git a/distrho/src/DistrhoUIInternal.hpp b/distrho/src/DistrhoUIInternal.hpp index b012b188..e6085e03 100644 --- a/distrho/src/DistrhoUIInternal.hpp +++ b/distrho/src/DistrhoUIInternal.hpp @@ -280,11 +280,11 @@ public: { DISTRHO_SAFE_ASSERT_RETURN(fUi != nullptr, false); + glApp.idle(); + if (glWindow.isReady()) fUi->d_uiIdle(); - glApp.idle(); - return ! glApp.isQuiting(); } |