Browse Source

Fix build

Signed-off-by: falkTX <falktx@falktx.com>
web-ui
falkTX 1 year ago
parent
commit
1a9fd35d2f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      distrho/extra/WebViewImpl.cpp

+ 2
- 2
distrho/extra/WebViewImpl.cpp View File

@@ -376,7 +376,7 @@ WebViewHandle webViewCreate(const uintptr_t windowId,
getFilenameFromFunctionPtr(ldlinux, dlsym(nullptr, "_rtld_global"));

char filename[PATH_MAX] = {};
getFilenameFromFunctionPtr(filename, reinterpret_cast<const void*>(addWebView));
getFilenameFromFunctionPtr(filename, reinterpret_cast<const void*>(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



Loading…
Cancel
Save