Sophie

Sophie

distrib > Fedora > 17 > x86_64 > media > updates-src > by-pkgid > f8148465cfaebd846ddd583cda11300a > files > 5

redeclipse-1.3.1-1.fc17.src.rpm

Description: Start in windowed mode by default
 Since fullscreen SDL will capture all keyboard input and make the user unable
 to escape via alt-tab, change volume, or exit sanely in the case of the
 application locking up, it makes sense to start the game in windowed mode by
 default.
Forwarded: not-needed
Author: Martin Erik Werner <martinerikwerner@gmail.com>
Origin: http://patch-tracker.debian.org/patch/series/view/redeclipse/1.2-2/windowed-by-default.patch
Last-Update: 2011-12-13

--- a/src/engine/main.cpp
+++ b/src/engine/main.cpp
@@ -246,7 +246,7 @@
 #endif
 }
 
-VARF(0, fullscreen, 0, 1, 1, setfullscreen(fullscreen!=0));
+VARF(0, fullscreen, 0, 0, 1, setfullscreen(fullscreen!=0));
 
 void screenres(int *w, int *h)
 {