Browse Source

Fix crash when showing plugin UIs under wayland

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.9^0
falkTX 1 month ago
parent
commit
bbd981f01d
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/frontend/carla_host.py

+ 3
- 1
source/frontend/carla_host.py View File

@@ -2733,8 +2733,10 @@ class HostWindow(QMainWindow):
if MACOS:
nsViewPtr = int(self.winId())
winIdStr = "%x" % gCarla.utils.cocoa_get_window(nsViewPtr)
else:
elif WINDOWS or QApplication.platformName() == "xcb":
winIdStr = "%x" % int(self.winId())
else:
winIdStr = "0"
self.host.set_engine_option(ENGINE_OPTION_FRONTEND_WIN_ID, 0, winIdStr)

def hideEvent(self, event):


Loading…
Cancel
Save