changeset 41:1b09f89c5585

Kill.c: clang-format
author ng0@n0.is
date Fri, 03 May 2019 19:33:43 +0000
parents 6f3211a1f826
children 85214e687901
files Kill.c
diffstat 1 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/Kill.c	Fri May 03 19:31:55 2019 +0000
+++ b/Kill.c	Fri May 03 19:33:43 2019 +0000
@@ -18,18 +18,20 @@
 #include "uwm.h"
 #include <stdbool.h>
 
+/*
+ * Window window: Event window.
+ * int mask: Button/key mask.
+ * int button: Button event detail.
+ * int x, y: Event mouse position.
+ */
 bool
-Kill(window, mask, button, x, y)
-Window window;                          /* Event window. */
-int mask;                               /* Button/key mask. */
-int button;                             /* Button event detail. */
-int x, y;                               /* Event mouse position. */
+Kill (Window window, int mask, int button, int x, int y)
 {
-	Window *assoc;
+        Window *assoc;
 
-	if (IsIcon(window, x, y, TRUE, &assoc))
-		XKillClient(dpy, assoc);
-	else
-		XKillClient(dpy, window);
-	return FALSE ;
+        if (IsIcon (window, x, y, TRUE, &assoc))
+                XKillClient (dpy, assoc);
+        else
+                XKillClient (dpy, window);
+        return FALSE;
 }