From dcde59df02df1a97436cf10a4528d8ce07f2d56f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 25 Jan 2008 00:07:16 +0100 Subject: [PATCH] warn() on XErrors --- awesome.c | 1 + 1 file changed, 1 insertion(+) diff --git a/awesome.c b/awesome.c index 6edd9695..dfc4b4ac 100644 --- a/awesome.c +++ b/awesome.c @@ -175,6 +175,7 @@ exit_on_signal(int sig __attribute__ ((unused))) static int xerror(Display * edpy, XErrorEvent * ee) { + warn("an XError occured, this may be bad\n"); if(ee->error_code == BadWindow || (ee->request_code == X_SetInputFocus && ee->error_code == BadMatch) || (ee->request_code == X_PolyText8 && ee->error_code == BadDrawable)