Reposition menu on fullscreen toggle
authorIngo Ruhnke <grumbel@gmx.de>
Sun, 25 May 2008 17:12:12 +0000 (17:12 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Sun, 25 May 2008 17:12:12 +0000 (17:12 +0000)
SVN-Revision: 5519

src/mainloop.cpp

index 4106f59..2da35d1 100644 (file)
@@ -205,6 +205,7 @@ MainLoop::process_events()
               {
                 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)