Xinqi Bao's Git

added a tool for resetting the status bar && worked around some issues && removed...
[slstatus.git] / status_reset.c
diff --git a/status_reset.c b/status_reset.c
new file mode 100644 (file)
index 0000000..eebaac6
--- /dev/null
@@ -0,0 +1,10 @@
+#include <X11/Xlib.h>
+
+int
+main(void)
+{
+       Display *dpy = XOpenDisplay(NULL);
+       XStoreName(dpy, DefaultRootWindow(dpy), NULL);
+       XCloseDisplay(dpy);
+       return (0);
+}