Browse Source

Fix build

Signed-off-by: falkTX <falktx@falktx.com>
pull/309/head
falkTX 4 years ago
parent
commit
267fc77015
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      dgl/src/WindowPrivateData.cpp

+ 4
- 0
dgl/src/WindowPrivateData.cpp View File

@@ -363,7 +363,11 @@ void Window::PrivateData::focus()
if (! isEmbed)
puglRaiseWindow(view);

#ifdef HAVE_X11
puglX11GrabFocus(view);
#else
puglGrabFocus(view);
#endif
}

// -----------------------------------------------------------------------


Loading…
Cancel
Save