all repos — dmenu @ 04eade6a767a4145388585f666c6d1628285e96d

my build of dmenu

small change of main event loop
Anselm R. Garbe arg@10kloc.org
Mon, 04 Sep 2006 07:28:03 +0200
commit

04eade6a767a4145388585f666c6d1628285e96d

parent

49ce444d3228ef00f1ad3b2deab9e133b3495b6b

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M main.cmain.c

@@ -354,14 +354,14 @@

/* main event loop */ while(running && !XNextEvent(dpy, &ev)) { switch (ev.type) { + default: /* ignore all crap */ + break; case KeyPress: kpress(&ev.xkey); break; case Expose: if(ev.xexpose.count == 0) drawmenu(); - break; - default: break; } }