steamcompmgr: Handle X11 errors for other displays

Closes: #382
This commit is contained in:
Joshua Ashton 2022-02-14 19:33:28 +00:00
parent 7ec498af0a
commit a59c89d2ec

View file

@ -3892,7 +3892,11 @@ error(Display *dpy, XErrorEvent *ev)
} }
} }
} }
assert(ctx); if ( !ctx )
{
// Not for us!
return;
}
int o; int o;
const char *name = NULL; const char *name = NULL;
static char buffer[256]; static char buffer[256];