From 1a9fd35d2fcac4ae8e284fe0352f365d21db7958 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 7 May 2024 13:51:24 +0200 Subject: [PATCH] Fix build Signed-off-by: falkTX --- distrho/extra/WebViewImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrho/extra/WebViewImpl.cpp b/distrho/extra/WebViewImpl.cpp index 40506f97..fc472c0b 100644 --- a/distrho/extra/WebViewImpl.cpp +++ b/distrho/extra/WebViewImpl.cpp @@ -376,7 +376,7 @@ WebViewHandle webViewCreate(const uintptr_t windowId, getFilenameFromFunctionPtr(ldlinux, dlsym(nullptr, "_rtld_global")); char filename[PATH_MAX] = {}; - getFilenameFromFunctionPtr(filename, reinterpret_cast(addWebView)); + getFilenameFromFunctionPtr(filename, reinterpret_cast(webViewCreate)); d_stdout("ld-linux is '%s'", ldlinux); d_stdout("filename is '%s'", filename); @@ -498,7 +498,7 @@ void webViewResize(const WebViewHandle handle, const uint width, const uint heig XFree(childWindows); } - XMoveResizeWindow(handle->display, handle->childWindow, x, y, width, height); + XResizeWindow(handle->display, handle->childWindow, width, height); XFlush(handle->display); #endif