summaryrefslogtreecommitdiff
path: root/dwm/patch/sortscreens.h
diff options
context:
space:
mode:
authorcoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
committercoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
commit8cbadb61604667b407b53ee1258433994fa4765a (patch)
tree97765fb29418fd6278fcb4cbb9760893afaf7a58 /dwm/patch/sortscreens.h
Diffstat (limited to 'dwm/patch/sortscreens.h')
-rwxr-xr-xdwm/patch/sortscreens.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dwm/patch/sortscreens.h b/dwm/patch/sortscreens.h
new file mode 100755
index 0000000..82915f4
--- /dev/null
+++ b/dwm/patch/sortscreens.h
@@ -0,0 +1,4 @@
+#define RIGHTOF(a,b) (a.y_org > b.y_org) || ((a.y_org == b.y_org) && (a.x_org > b.x_org))
+
+static void sortscreens(XineramaScreenInfo *screens, int n);
+