git: 8ed178d3c6a4 - 2024Q1 - x11-wm/niri: document 3dee7e552236
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Feb 2024 10:47:17 UTC
The branch 2024Q1 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8ed178d3c6a49601872477a37ca29986f7b5f262
commit 8ed178d3c6a49601872477a37ca29986f7b5f262
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-02-01 09:56:29 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-02-01 10:47:02 +0000
x11-wm/niri: document 3dee7e552236
XDG_SESSION_TYPE is usually set by consolekit2 on behalf of sddm.
seatd doesn't support XDG_SESSION_TYPE, so niri emulates like wlroots.
(cherry picked from commit 9a93455d65f5ded157dc0e4988f75fe267012ee0)
---
x11-wm/niri/files/patch-no-systemd | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/x11-wm/niri/files/patch-no-systemd b/x11-wm/niri/files/patch-no-systemd
index 525af9ff06a6..2b4890279d06 100644
--- a/x11-wm/niri/files/patch-no-systemd
+++ b/x11-wm/niri/files/patch-no-systemd
@@ -42,12 +42,13 @@ Avoid various systemd dependencies
let cli = Cli::parse();
let _client = tracy_client::Client::start();
-@@ -128,6 +114,10 @@ fn main() {
+@@ -128,6 +114,11 @@ fn main() {
socket_name.to_string_lossy()
);
+ // Advise xdg-desktop-portal which *-portals.conf to load
+ env::set_var("XDG_CURRENT_DESKTOP", "niri");
++ // Mimic wlroots, used by https://github.com/qt/qtbase/commit/4b4870a12cd9
+ env::set_var("XDG_SESSION_TYPE", "wayland");
+
if is_systemd_service {