X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fdisplay.cc;h=6fc6117cd2e5a72af0a40de1523ff26201c2f642;hb=9bfc9778271734e56e381afca74e7e50f6334f04;hp=21ffcd5d85442992ec19c8bb7d987631519ffecf;hpb=711a7d8c5623814c374ed6f56476bc616cb9391f;p=chaz%2Fopenbox diff --git a/otk/display.cc b/otk/display.cc index 21ffcd5d..6fc6117c 100644 --- a/otk/display.cc +++ b/otk/display.cc @@ -65,6 +65,8 @@ int OBDisplay::xerrorHandler(Display *d, XErrorEvent *e) { XGetErrorText(d, e->error_code, errtxt, 128); printf("X Error: %s\n", errtxt); + if (e->error_code != BadWindow) + abort(); } #else (void)d;