summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-23 20:55:19 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:54 -0500
commita2f5a826a1ed79102cd59a9ef17724fb90afe86b (patch)
tree37f4ed0e023b30fcef567b259b79d3f4b7b8e0f5 /openbox/openbox.c
parent452627a51ce38229533dfe5d8eeb877b0918d02c (diff)
move the xerror handling into the libobt
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c4
1 files changed, 0 insertions, 4 deletions
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)));