Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129294 - [patch] add fullscreen toggle support to media-libs/libsdl-1.2.9
Summary: [patch] add fullscreen toggle support to media-libs/libsdl-1.2.9
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://home.woh.rr.com/nwmovies/
Whiteboard:
Keywords:
: 165951 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-08 18:08 UTC by Ryan Hill (RETIRED)
Modified: 2010-01-06 05:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libsdl-1.2.9-fullscreen-toggle.patch (libsdl-1.2.9-fullscreen-toggle.patch,2.48 KB, patch)
2006-04-08 18:10 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2006-04-08 18:08:12 UTC
This patch adds the ability to toggle apps and games using libSDL's fullscreen mode between full and windowed using a few different key sequences.

    * Right-Alt & Enter - Toggle between FullScreen/Windowed.
    * Left-Alt & Enter - Iconify Window.
    * Left-Control & G - Disable the mouse grab that keeps the cursor inside the window.
    * Right-Control & G - Re-enable the mouse grab to keep the cursor inside the window.

Testing w/ libsdl-1.2.9 and Neverwinter Nights, Frozen Bubble, and Tomatoes worked as advertised.  Patches against older versions are available are also available at the URL above.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2006-04-08 18:10:03 UTC
Created attachment 84241 [details, diff]
libsdl-1.2.9-fullscreen-toggle.patch
Comment 2 SpanKY gentoo-dev 2006-04-09 10:03:10 UTC
i take it you didnt write this patch huh

this needs to go through the libsdl mailing list ...
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2006-04-09 16:44:45 UTC
not gonna happen.
Comment 4 SpanKY gentoo-dev 2006-04-09 17:02:56 UTC
hmm ?  this patch has been posted to the libsdl list already ?
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2006-04-09 17:44:10 UTC
it may have, but i see they're ripping out the ToggleFullScreen functions in favor of something more portable in 1.3 anyways.

plus, after reading through the sources i realized how totally ugly a hack this is and i'm kind of embarrassed i proposed it in the first place.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-02-09 08:00:45 UTC
*** Bug 165951 has been marked as a duplicate of this bug. ***