src/video/x11/SDL_x11window.c
changeset 6568 1a6b0ae81937
parent 6562 c52863165594
child 6575 833a983f218e
     1.1 --- a/src/video/x11/SDL_x11window.c	Wed Oct 10 23:10:04 2012 -0400
     1.2 +++ b/src/video/x11/SDL_x11window.c	Thu Oct 11 09:34:13 2012 -0700
     1.3 @@ -992,6 +992,13 @@
     1.4          }
     1.5          X11_SetNetWMState(_this, data->xwindow, flags);
     1.6      }
     1.7 +
     1.8 +	if( fullscreen ) {
     1.9 +		XInstallColormap(display, data->colormap);
    1.10 +	} else {
    1.11 +		XUninstallColormap(display, data->colormap);
    1.12 +	}
    1.13 +
    1.14      XFlush(display);
    1.15  }
    1.16