We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387a2b9 commit b59d6d4Copy full SHA for b59d6d4
src/video/x11/SDL_x11framebuffer.c
@@ -33,7 +33,7 @@ static int shm_error;
33
static int (*X_handler)(Display *, XErrorEvent *) = NULL;
34
static int shm_errhandler(Display *d, XErrorEvent *e)
35
{
36
- if (e->error_code == BadAccess) {
+ if (e->error_code == BadAccess || e->error_code == BadRequest) {
37
shm_error = True;
38
return 0;
39
}
0 commit comments