Skip to content

Commit

Permalink
Plugin compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Nov 10, 2023
1 parent 2da2f63 commit c683017
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Utility/OSUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <juce_gui_basics/juce_gui_basics.h>


#include "Config.h"
#include "OSUtils.h"

#if defined(__APPLE__)
Expand Down Expand Up @@ -170,7 +171,9 @@ OSUtils::KeyboardLayout OSUtils::getKeyboardLayout()

void OSUtils::updateX11Constraints(void* handle)
{
juce::XWindowSystem::getInstance()->updateConstraints(reinterpret_cast<::Window>(handle));
if(ProjectInfo::isStandalone) {
juce::XWindowSystem::getInstance()->updateConstraints(reinterpret_cast<::Window>(handle));
}
}

bool OSUtils::isX11WindowMaximised(void* handle)
Expand Down

0 comments on commit c683017

Please sign in to comment.