[Supertux-Commit] r5519 - trunk/supertux/src

grumbel at millhouse.dreamhost.com grumbel at millhouse.dreamhost.com
Sun May 25 10:12:12 PDT 2008


Author: grumbel
Date: 2008-05-25 10:12:12 -0700 (Sun, 25 May 2008)
New Revision: 5519

Modified:
   trunk/supertux/src/mainloop.cpp
Log:
Reposition menu on fullscreen toggle

Modified: trunk/supertux/src/mainloop.cpp
===================================================================
--- trunk/supertux/src/mainloop.cpp	2008-05-25 16:42:19 UTC (rev 5518)
+++ trunk/supertux/src/mainloop.cpp	2008-05-25 17:12:12 UTC (rev 5519)
@@ -205,6 +205,7 @@
               {
                 config->use_fullscreen = !config->use_fullscreen;
                 init_video();
+                Menu::recalc_pos();
               }
             else if (event.key.keysym.sym == SDLK_PRINT ||
                      event.key.keysym.sym == SDLK_F12)




More information about the Supertux-Commit mailing list