Opened 22 years ago

Closed 22 years ago

Last modified 5 years ago

#7926 closed patch (fixed)

Alt-Enter fullscreen toggle

Reported by: SF/mark7 Owned by:
Priority: normal Component: Graphics
Version: Keywords:
Cc: Game:

Description

Lets Alt-Enter toggle fullscreen mode.

Ticket imported from: #493409. Ticket imported from: patches/31.

Attachments (1)

fullscreen-toggle.patch (541 bytes ) - added by SF/mark7 22 years ago.
Fullscreen toggle patch

Download all attachments as: .zip

Change History (5)

by SF/mark7, 22 years ago

Attachment: fullscreen-toggle.patch added

Fullscreen toggle patch

comment:1 by SF/strigeus, 22 years ago

I've implemented this patch. It doesn't work for me though (in win32).

comment:2 by SF/strigeus, 22 years ago

Resolution: fixed
Status: newclosed

comment:3 by SF/mark7, 22 years ago

This is correct -- according to the SDL documentation on SDL_WM_ToggleFullScreen(), "X11 is the only target currently supported, BeOS support is experimental".

If fullscreen switching on Windows is needed, I believe things need to be done the hard way -- dispose of the video surface, allocate a new one with SDL_FULLSCREEN, copy data over the the new one, ensure that no pointers to the old one are still sitting around, start using the new one.

comment:4 by digitall, 5 years ago

Component: Graphics
Note: See TracTickets for help on using tickets.