mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Enabled full error handling
This commit is contained in:
Binary file not shown.
@@ -67,10 +67,10 @@ Display* open_display(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
int handle_error(Display* display, XErrorEvent* error){
|
int handle_error(Display* display, XErrorEvent* error){
|
||||||
// printf("X11 error: type=%d, serial=%lu, code=%d\n",
|
printf("X11 error: type=%d, serial=%lu, code=%d\n",
|
||||||
// error->type, error->serial, (int)error->error_code);
|
error->type, error->serial, (int)error->error_code);
|
||||||
// xerror = True;
|
xerror = True;
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
Window get_focus_window(Display* d){
|
Window get_focus_window(Display* d){
|
||||||
|
Reference in New Issue
Block a user