|
From: Sergio B. <ser...@gm...> - 2013-02-12 00:05:10
|
On 02/02/13 11:17, Fred wrote: > The SDL code is set to disable the cursor when it is running in fullscreen mode when started in a UI, but I'm not 100% sure that we have things right when SDL is running outside a WM. I've had a closer look to this. SDL sets the SDL_FULLSCREEN flag when running Fuse inside a Window Manager and the surface is fullscreen. In a tty, SDL sets the SDL_NOFRAME flag but not SDL_FULLSCREEN, so we don't try to disable the cursor. The first workaround that comes to my mind is checking for the SDL_NOFRAME flag too: http://pastebin.com/f6pHzUDA I'm concerned about Windows Managers without window decorations. Openbox allow disabling decorations but I couldn't force any conflict, though. BTW, to avoid a fake fullscreen (display window centered on a black background) I've had to boot the kernel with the parameter vga=0x0311 to get a tty with 640x480@16bpp Cheers, Sergio |