diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-02-05 18:12:46 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-02-05 18:20:49 +0100 |
commit | b18f3c709dacd72c5527c4f6474faaeb7554d7f8 (patch) | |
tree | d91630a48785538990adbddd0cc0d1a139a3b473 /src/device-menu-mgr.h | |
parent | db07408b9120c8eb91e5635d033d8195db76d247 (diff) | |
download | ayatana-indicator-session-b18f3c709dacd72c5527c4f6474faaeb7554d7f8.tar.gz ayatana-indicator-session-b18f3c709dacd72c5527c4f6474faaeb7554d7f8.tar.bz2 ayatana-indicator-session-b18f3c709dacd72c5527c4f6474faaeb7554d7f8.zip |
src/service.c: Use !rda_session_is_remote() rather than rda_session_is_local().
When using rda_session_is_local() you really get the answer you are
asking for: the desktop session runs on a local XDG_SEAT.
However, we'd rather like to know: is the session remote. If not let's
treat what we are in as local.
This popped up in build chrooted environments where XDG_SEAT is
undefined, but still: we are definitely not in a remote session.
Fixes: https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/90
Diffstat (limited to 'src/device-menu-mgr.h')
0 files changed, 0 insertions, 0 deletions