This commit is contained in:
Enrico Forestieri 2017-05-20 02:36:16 +02:00
parent 7b0f63f67b
commit 05d4332152
2 changed files with 7 additions and 0 deletions

View File

@ -184,6 +184,12 @@ frontend::Application * createApplication(int & argc, char * argv[])
} }
} }
#endif #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); frontend::GuiApplication * guiApp = new frontend::GuiApplication(argc, argv);
// I'd rather do that in the constructor, but I do not think that // I'd rather do that in the constructor, but I do not think that
// the palette is accessible there. // the palette is accessible there.

View File

@ -22,6 +22,7 @@ What's new
* USER INTERFACE * USER INTERFACE
- On Windows, allow to automatically bring the LyX window to top (bug 10469).
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION