]>
Dogcows Code - chaz/openbox/blob - openbox/xerror.c
5 static gboolean xerror_ignore
= FALSE
;
7 int xerror_handler(Display
*d
, XErrorEvent
*e
)
13 /*if (e->error_code != BadWindow) */
15 XGetErrorText(d
, e
->error_code
, errtxt
, 127);
16 if (e
->error_code
== BadWindow
)
17 /*g_warning("X Error: %s", errtxt)*/;
19 g_error("X Error: %s", errtxt
);
28 void xerror_set_ignore(gboolean ignore
)
30 XSync(ob_display
, FALSE
);
31 xerror_ignore
= ignore
;
This page took 0.033539 seconds and 4 git commands to generate.