From 4dcef65b1cd4889d552f620c014fb1a6a59b8555 Mon Sep 17 00:00:00 2001 From: AnErrupTion Date: Thu, 6 Mar 2025 23:32:23 +0100 Subject: [PATCH] Fix X11 session logout Signed-off-by: AnErrupTion --- src/auth.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.zig b/src/auth.zig index e3d8e32..2d2bbf8 100644 --- a/src/auth.zig +++ b/src/auth.zig @@ -455,7 +455,7 @@ fn executeX11Cmd(shell: [*:0]const u8, pw_dir: [*:0]const u8, options: AuthOptio interop.xcb.xcb_disconnect(xcb); std.posix.kill(x_pid, 0) catch return; - std.posix.kill(x_pid, std.posix.SIG.TERM) catch {}; + std.posix.kill(x_pid, std.posix.SIG.KILL) catch {}; var status: c_int = 0; _ = std.c.waitpid(x_pid, &status, 0);