diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 93768da..580bc4c 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -169,6 +169,9 @@ int handleXErrors(Display *d, XErrorEvent *e) { | |||
169 | (int)e->request_code<<"/"<<(int)e->minor_code<<" resource 0x"<<hex<<(int)e->resourceid<<dec<<endl; | 169 | (int)e->request_code<<"/"<<(int)e->minor_code<<" resource 0x"<<hex<<(int)e->resourceid<<dec<<endl; |
170 | // if (e->error_code != 9 && e->error_code != 183) | 170 | // if (e->error_code != 9 && e->error_code != 183) |
171 | // kill(0, 2); | 171 | // kill(0, 2); |
172 | if (e->error_code == BadDrawable) { | ||
173 | kill(0,2); | ||
174 | } | ||
172 | } | 175 | } |
173 | #endif // !DEBUG | 176 | #endif // !DEBUG |
174 | 177 | ||