X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fdebug.c;h=2dcdb56a428ee4b8ba7df87824c2121c305d83a4;hb=6800524f2e1b0205972cf28bb08d5bfcf6f67dfc;hp=de47fca257299b32cfe95e00be7e148a4c7e209d;hpb=96128c9cfbda0029775cabaa22b82b97a0a1f2f3;p=i3%2Fi3 diff --git a/src/debug.c b/src/debug.c index de47fca2..2dcdb56a 100644 --- a/src/debug.c +++ b/src/debug.c @@ -1,14 +1,13 @@ +#undef I3__FILE__ +#define I3__FILE__ "debug.c" /* - * vim:ts=8:expandtab + * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager + * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) * - * © 2009-2010 Michael Stapelberg and contributors - * - * See file LICENSE for license information. - * - * debug.c: Contains debugging functions, especially FormatEvent, which prints unhandled events. - * This code is from xcb-util. + * debug.c: Debugging functions, especially FormatEvent, which prints unhandled + * events. This code is from xcb-util. * */ #include @@ -244,7 +243,3 @@ int format_event(xcb_generic_event_t *e) { fflush(stdout); return 1; } - -int handle_event(void *ignored, xcb_connection_t *c, xcb_generic_event_t *e) { - return format_event(e); -}