Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merged Ryan's changes

  • Loading branch information
slouken committed Oct 11, 2012
2 parents 661fe79 + ad7cbfb commit e7cbb19dc94b000ccabce688882c648ffb1d291b
Showing with 7 additions and 5 deletions.
  1. +7 −5 src/video/x11/SDL_x11window.c
@@ -993,11 +993,13 @@ X11_SetWindowFullscreenViaWM(_THIS, SDL_Window * window, SDL_VideoDisplay * _dis
X11_SetNetWMState(_this, data->xwindow, flags);
}

if( fullscreen ) {
XInstallColormap(display, data->colormap);
} else {
XUninstallColormap(display, data->colormap);
}
if (data->visual->class == DirectColor) {
if ( fullscreen ) {
XInstallColormap(display, data->colormap);
} else {
XUninstallColormap(display, data->colormap);
}
}

XFlush(display);
}

0 comments on commit e7cbb19

Please sign in to comment.