commit d271e266e624023f37edb91e805fa3bb36d92884
parent cd37b0ad39245eab38665534f703132c65b015f9
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Tue, 15 Oct 2019 20:03:50 +0300
patches: Added normal kill.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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);
}
-
+
/*