changeset 42:85214e687901

Lower.c: clang-format
author ng0@n0.is
date Fri, 03 May 2019 19:34:16 +0000
parents 1b09f89c5585
children 4eb762fc1b4b
files Lower.c
diffstat 1 files changed, 18 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/Lower.c	Fri May 03 19:33:43 2019 +0000
+++ b/Lower.c	Fri May 03 19:34:16 2019 +0000
@@ -1,6 +1,7 @@
 #ifndef lint
-static char *rcsid_Lower_c = "$XConsortium: Lower.c,v 1.4 88/09/06 17:28:13 jim Exp $";
-#endif	/* lint */
+static char *rcsid_Lower_c =
+  "$XConsortium: Lower.c,v 1.4 88/09/06 17:28:13 jim Exp $";
+#endif /* lint */
 
 /*
  * Copyright 1985, 1986, 1987, 1988, 1989 by the
@@ -56,16 +57,20 @@
 #include "uwm.h"
 #include <stdbool.h>
 
-bool Lower(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. */
+/*
+ * Window window: Event window.
+ * int mask: Button/key mask.
+ * int button: Button event detail.
+ * int x, y: Event mouse position.
+ */
+bool
+Lower (Window window, int mask, int button, int x, int y)
 {
-    /*
-     * If the window is not the root window, lower the window and return.
-     */
-    if (window != RootWindow(dpy, scr))
-        XLowerWindow(dpy, window);
-    return(FALSE);
+        /*
+         * If the window is not the root window,
+         * lower the window and return.
+         */
+        if (window != RootWindow (dpy, scr))
+                XLowerWindow (dpy, window);
+        return (FALSE);
 }