mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 23:06:18 +00:00
Implement KDE and LXDE detection
This commit is contained in:
parent
36102a12a4
commit
3a6e61604b
1 changed files with 4 additions and 0 deletions
|
|
@ -295,6 +295,10 @@ Oneshot::Oneshot(RGSSThreadData &threadData) :
|
||||||
gtk_init(0, 0);
|
gtk_init(0, 0);
|
||||||
} else if (desktop.find("xfce") != std::string::npos) {
|
} else if (desktop.find("xfce") != std::string::npos) {
|
||||||
desktopEnv = "xfce";
|
desktopEnv = "xfce";
|
||||||
|
} else if (desktop.find("kde") != std::string::npos) {
|
||||||
|
desktopEnv = "kde";
|
||||||
|
} else if (desktop.find("lxde") != std::string::npos) {
|
||||||
|
desktopEnv = "lxde";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue