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