projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afaf66d
)
simplified main event loop
author
Anselm R. Garbe
<arg@10kloc.org>
Tue, 10 Oct 2006 17:15:06 +0000
(19:15 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Tue, 10 Oct 2006 17:15:06 +0000
(19:15 +0200)
config.mk
patch
|
blob
|
history
main.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index c7d3cc7c4ab2e921bb288e556ffc36203a78734e..63fbad33de5ea7e904edee61c7a554a6fefbaf78 100644
(file)
--- 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 fcb929534782a952c85070983c677e61b3fe3178..3fa1e54801ee5d9a770e192eecb8f6af7f00acb6 100644
(file)
--- 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) {