main: Set XDG_CURRENT_DESKTOP to gamescope
A proper session will already do this from eg. SDDM, but when running nested, we want this to still be present.
This commit is contained in:
parent
98d61844d8
commit
4e748ba1e5
1 changed files with 1 additions and 0 deletions
|
@ -558,6 +558,7 @@ int main(int argc, char **argv)
|
|||
|
||||
setenv("DISPLAY", base_server->get_nested_display_name(), 1);
|
||||
setenv("XDG_SESSION_TYPE", "x11", 1);
|
||||
setenv("XDG_CURRENT_DESKTOP", "gamescope", 1);
|
||||
if (g_nXWaylandCount > 1)
|
||||
{
|
||||
for (int i = 1; i < g_nXWaylandCount; i++)
|
||||
|
|
Loading…
Reference in a new issue