|
|
@ -356,7 +356,7 @@ main(int argc, char *argv[]) { |
|
|
|
XSync(dpy, False); |
|
|
|
XSync(dpy, False); |
|
|
|
|
|
|
|
|
|
|
|
/* main event loop */ |
|
|
|
/* main event loop */ |
|
|
|
while(running && !XNextEvent(dpy, &ev)) { |
|
|
|
while(running && !XNextEvent(dpy, &ev)) |
|
|
|
switch (ev.type) { |
|
|
|
switch (ev.type) { |
|
|
|
default: /* ignore all crap */ |
|
|
|
default: /* ignore all crap */ |
|
|
|
break; |
|
|
|
break; |
|
|
@ -368,7 +368,6 @@ main(int argc, char *argv[]) { |
|
|
|
drawmenu(); |
|
|
|
drawmenu(); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* cleanup */ |
|
|
|
/* cleanup */ |
|
|
|
while(allitems) { |
|
|
|
while(allitems) { |
|
|
|