summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruint23 <https://uint23.xyz/>2025-04-17 03:07:07 +0100
committeruint23 <https://uint23.xyz/>2025-04-17 03:07:07 +0100
commitbd49afd48693fd604d1b9a32c49c73f36f8e11a7 (patch)
treec15e01f1dc95f2f1a30dd96c8bd92527baccb99c
parentff21244302fe3b5a2e1298600a28257f63b065eb (diff)
cleanup
-rw-r--r--src/sxwm.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index 188f080..ced634c 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -1,8 +1,9 @@
/* See LICENSE for more info
*
+ * simple xorg window manager
* sxwm is a user-friendly, easily configurable yet powerful
* tiling window manager inspired by window managers such as
- * DWM and i3
+ * DWM and i3.
*
* The userconfig is designed to be as user-friendly as
* possible, and I hope it is easy to configure even without
@@ -230,9 +231,9 @@ hdl_button(XEvent *xev)
static void
hdl_button_release(XEvent *xev)
{
- (void)xev;
+ (void)xev;
XUngrabPointer(dpy, CurrentTime);
- drag_mode = DRAG_NONE;
+ drag_mode = DRAG_NONE;
drag_client = NULL;
}
@@ -550,7 +551,7 @@ toggle_floating(void)
&(XWindowChanges){
.x = focused->x,
.y = focused->y,
- .width = focused->w,
+ .width = focused->w,
.height = focused->h
});
}