[LyX/2.3.x] Set desktop name for Wayland
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Sun Jul 12 13:24:42 UTC 2020
commit dc5eda84b8bb4d4eed09047d1c55a33a8173e746
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Thu Apr 30 12:35:57 2020 +0200
Set desktop name for Wayland
Fixes bug 11847.
(cherry picked from commit 2a80b0ac01bed283d3f06d6dbe50307b2a3bab15)
---
src/frontends/qt4/GuiApplication.cpp | 4 ++++
status.23x | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp
index 3d88764..0094e9d 100644
--- a/src/frontends/qt4/GuiApplication.cpp
+++ b/src/frontends/qt4/GuiApplication.cpp
@@ -1027,6 +1027,10 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
+#if QT_VERSION >= 0x050700
+ setDesktopFileName(lyx_package);
+#endif
+
qsrand(QDateTime::currentDateTime().toTime_t());
// Install translator for GUI elements.
diff --git a/status.23x b/status.23x
index 3b94c32..cb41997 100644
--- a/status.23x
+++ b/status.23x
@@ -68,6 +68,8 @@ What's new
- Fix input of decimal numbers in RtL context (bug 11900).
+- Fix the LyX icon in the Wayland dash (bug 11847).
+
* INTERNALS
More information about the lyx-cvs
mailing list