From a2f5a826a1ed79102cd59a9ef17724fb90afe86b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 23 Jul 2007 20:55:19 -0400 Subject: move the xerror handling into the libobt --- openbox/openbox.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index aa30e9af..f00cd2bd 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -25,7 +25,6 @@ #include "event.h" #include "menu.h" #include "client.h" -#include "xerror.h" #include "prop.h" #include "screen.h" #include "actions.h" @@ -185,9 +184,6 @@ gint main(gint argc, gchar **argv) if (!XSetLocaleModifiers("")) g_message(_("Cannot set locale modifiers for the X server.")); - /* set our error handler */ - XSetErrorHandler(xerror_handler); - /* set the DISPLAY environment variable for any lauched children, to the display we're using, so they open in the right place. */ putenv(g_strdup_printf("DISPLAY=%s", DisplayString(ob_display))); -- cgit v1.2.3