Browse Source

Ignore handleCommandMessage/postCommandMessage not used in linux

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.2
falkTX 3 years ago
parent
commit
e019d7d4e9
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/utils/JucePluginWindow.hpp

+ 4
- 0
source/utils/JucePluginWindow.hpp View File

@@ -72,7 +72,9 @@ public:
setVisible(true);
toFront(true);

#ifndef CARLA_OS_LINUX
postCommandMessage(0);
#endif
}

void hide()
@@ -107,6 +109,7 @@ protected:
return ComponentPeer::windowHasDropShadow | ComponentPeer::windowHasTitleBar | ComponentPeer::windowHasCloseButton;
}

#ifndef CARLA_OS_LINUX
void handleCommandMessage(const int comamndId) override
{
CARLA_SAFE_ASSERT_RETURN(comamndId == 0,);
@@ -117,6 +120,7 @@ protected:
setAlwaysOnTop(false);
}
}
#endif

private:
volatile bool fClosed;


Loading…
Cancel
Save