From: Steinar H. Gunderson Date: Sat, 18 Feb 2012 00:27:59 +0000 (+0100) Subject: Disable cursor in fullscreen mode. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=0fad64f1f8ecc79312e6d27aac1bc0b3feff84c1 Disable cursor in fullscreen mode. --- diff --git a/bigscreen/ccbs_bigscreen.cpp b/bigscreen/ccbs_bigscreen.cpp index fa2fefd..d09b1c4 100644 --- a/bigscreen/ccbs_bigscreen.cpp +++ b/bigscreen/ccbs_bigscreen.cpp @@ -106,6 +106,7 @@ int main(int argc, char **argv) SDL_Init(SDL_INIT_VIDEO); #if USE_FULLSCREEN screen = SDL_SetVideoMode(SCREEN_WIDTH, SCREEN_HEIGHT, 32, SDL_DOUBLEBUF | SDL_FULLSCREEN); + SDL_ShowCursor(SDL_DISABLE); #else screen = SDL_SetVideoMode(SCREEN_WIDTH, SCREEN_HEIGHT, 32, SDL_DOUBLEBUF); #endif