Browse Source

Fix non-linux build

gh-pages
falkTX 10 years ago
parent
commit
17befcdaa6
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      dgl/src/Window.cpp

+ 5
- 0
dgl/src/Window.cpp View File

@@ -1008,6 +1008,7 @@ void Window::repaint() noexcept

bool Window::openFileBrowser(const FileBrowserOptions& options)
{
#ifdef SOFD_HAVE_X11
using DISTRHO_NAMESPACE::d_string;

// --------------------------------------------------------------------------
@@ -1065,6 +1066,10 @@ bool Window::openFileBrowser(const FileBrowserOptions& options)
// show

return (x_fib_show(pData->xDisplay, pData->xWindow, /*options.width*/0, /*options.height*/0) == 0);
#else
// not implemented
return false;
#endif
}

bool Window::isVisible() const noexcept


Loading…
Cancel
Save