Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug 1859 - No SDL_VIDEORESIZE event generated when the window m…
…anager sets the window size.

Samuel Hopkins

Just confirming that the patch from Andreas (attachment 1715 [details]) works for me under SDL 2.0.3 with xmonad.

Stas Sergeev

Confirming that the patch in this ticket fixes the full-screen switching for dosemu2 on ubuntu-16.04. Note that I am not using xmonad, so this bug appears to be generic.
  • Loading branch information
slouken committed Apr 3, 2017
1 parent 1517ba7 commit 5789da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11framebuffer.c
Expand Up @@ -97,7 +97,7 @@ X11_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format,
shm_error = False;
X_handler = X11_XSetErrorHandler(shm_errhandler);
X11_XShmAttach(display, shminfo);
X11_XSync(display, True);
X11_XSync(display, False);
X11_XSetErrorHandler(X_handler);
if ( shm_error )
shmdt(shminfo->shmaddr);
Expand Down

0 comments on commit 5789da6

Please sign in to comment.