Browse Source

Try to transient-map LV2 UIs that use showInterface

tags/1.9.4
falkTX 10 years ago
parent
commit
4f0659b577
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      source/Makefile.mk
  2. +5
    -0
      source/backend/plugin/Lv2Plugin.cpp

+ 1
- 1
source/Makefile.mk View File

@@ -112,7 +112,7 @@ CFLAGS += -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
CXXFLAGS += -Wnon-virtual-dtor -Woverloaded-virtual
ifeq ($(LINUX),true)
CFLAGS += -isystem /opt/kxstudio/include
CXXFLAGS += -isystem /opt/kxstudio/include -isystem /usr/include/qt4
CXXFLAGS += -isystem /opt/kxstudio/include -isystem /opt/kxstudio/include/qt5
endif
ifeq ($(MACOS),true)
CFLAGS += -isystem /opt/kxstudio/include


+ 5
- 0
source/backend/plugin/Lv2Plugin.cpp View File

@@ -1240,9 +1240,14 @@ public:
if (fUi.type == UI::TYPE_EMBED)
{
if (fUi.window != nullptr)
{
fUi.window->show();
}
else if (fExt.uishow != nullptr)
{
fExt.uishow->show(fUi.handle);
pData->tryTransient();
}
}
else
#endif


Loading…
Cancel
Save