Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
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
+++ b/
status_reset.c
@@ -0,0
+1,10
@@
+#include <X11/Xlib.h>
+
+int
+main(void)
+{
+ Display *dpy = XOpenDisplay(NULL);
+ XStoreName(dpy, DefaultRootWindow(dpy), NULL);
+ XCloseDisplay(dpy);
+ return (0);
+}