commit 05d4332152ce8fdba42e894c4246752d2c1c0aab Author: Enrico Forestieri <for...@lyx.org> Date: Sat May 20 02:36:16 2017 +0200
Fix bug #10469 --- src/frontends/qt4/GuiApplication.cpp | 6 ++++++ status.22x | 1 + 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index efea71c..5806558 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -184,6 +184,12 @@ frontend::Application * createApplication(int & argc, char * argv[]) } } #endif + +#if defined(Q_OS_WIN) || defined(Q_CYGWIN_WIN) + // On Windows, allow bringing the LyX window to top + AllowSetForegroundWindow(ASFW_ANY); +#endif + frontend::GuiApplication * guiApp = new frontend::GuiApplication(argc, argv); // I'd rather do that in the constructor, but I do not think that // the palette is accessible there. diff --git a/status.22x b/status.22x index bed1d56..b0dfced 100644 --- a/status.22x +++ b/status.22x @@ -22,6 +22,7 @@ What's new * USER INTERFACE +- On Windows, allow to automatically bring the LyX window to top (bug 10469). * DOCUMENTATION AND LOCALIZATION