From d271e266e624023f37edb91e805fa3bb36d92884 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 15 Oct 2019 20:03:50 +0300 Subject: [PATCH] patches: Added normal kill. --- patches/sowm-normal-kill.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/sowm-normal-kill.patch b/patches/sowm-normal-kill.patch index 53b3769..4b11cd4 100644 --- a/patches/sowm-normal-kill.patch +++ b/patches/sowm-normal-kill.patch @@ -7,7 +7,7 @@ index 0d74d4b..ff70968 100644 */ void win_kill() { - if (win_current() != root) XKillClient(d, cur); -+ if (win_current() == root) return; ++ if (win_current() == root) return; + + XEvent ev = { .type = ClientMessage }; + @@ -19,5 +19,5 @@ index 0d74d4b..ff70968 100644 + + XSendEvent(d, cur, False, NoEventMask, &ev); } - + /*