summaryrefslogtreecommitdiffhomepage
path: root/patch/sticky.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2019-09-15 00:43:35 +0200
committerbakkeby <[email protected]>2019-09-15 00:46:00 +0200
commit30e0a3b5e42185836bd4cf4d591351dacc6b723c (patch)
treeaa9af6357adf7e98c7dff03d88620f9b36b5484c /patch/sticky.c
parent713c4e619749e437970dee379d65417f9a1849b3 (diff)
downloaddwm-flexipatch-30e0a3b5e42185836bd4cf4d591351dacc6b723c.tar.gz
dwm-flexipatch-30e0a3b5e42185836bd4cf4d591351dacc6b723c.zip
Adding sticky and warp patches
Diffstat (limited to 'patch/sticky.c')
-rw-r--r--patch/sticky.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/patch/sticky.c b/patch/sticky.c
new file mode 100644
index 0000000..54bd403
--- /dev/null
+++ b/patch/sticky.c
@@ -0,0 +1,8 @@
+void
+togglesticky(const Arg *arg)
+{
+ if (!selmon->sel)
+ return;
+ selmon->sel->issticky = !selmon->sel->issticky;
+ arrange(selmon);
+} \ No newline at end of file