summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk2
-rw-r--r--main.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index c7d3cc7..63fbad3 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# dmenu version
-VERSION = 1.2
+VERSION = 1.3
# Customize below to fit your system
diff --git a/main.c b/main.c
index fcb9295..3fa1e54 100644
--- a/main.c
+++ b/main.c
@@ -356,7 +356,7 @@ main(int argc, char *argv[]) {
XSync(dpy, False);
/* main event loop */
- while(running && !XNextEvent(dpy, &ev)) {
+ while(running && !XNextEvent(dpy, &ev))
switch (ev.type) {
default: /* ignore all crap */
break;
@@ -368,7 +368,6 @@ main(int argc, char *argv[]) {
drawmenu();
break;
}
- }
/* cleanup */
while(allitems) {