mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
@@ -47,7 +47,7 @@ StartupWMClass=flameshot
|
|||||||
Actions=Configure;Capture;Launcher;
|
Actions=Configure;Capture;Launcher;
|
||||||
X-DBUS-StartupType=Unique
|
X-DBUS-StartupType=Unique
|
||||||
X-DBUS-ServiceName=org.flameshot.Flameshot
|
X-DBUS-ServiceName=org.flameshot.Flameshot
|
||||||
X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot
|
X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot,org.kde.KWin.ScreenShot2
|
||||||
|
|
||||||
[Desktop Action Configure]
|
[Desktop Action Configure]
|
||||||
Name=Configure
|
Name=Configure
|
||||||
|
|||||||
@@ -49,7 +49,8 @@ void wayland_hacks()
|
|||||||
{
|
{
|
||||||
// Workaround to https://github.com/ksnip/ksnip/issues/416
|
// Workaround to https://github.com/ksnip/ksnip/issues/416
|
||||||
DesktopInfo info;
|
DesktopInfo info;
|
||||||
if (info.windowManager() == DesktopInfo::GNOME) {
|
if ((info.windowManager() == DesktopInfo::GNOME) ||
|
||||||
|
(info.windowManager() == DesktopInfo::KDE)) {
|
||||||
qputenv("QT_QPA_PLATFORM", "xcb");
|
qputenv("QT_QPA_PLATFORM", "xcb");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user