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

src/options_menu.cpp

index 6a5b364..644028c 100644 (file)
@@ -279,7 +279,8 @@ OptionsMenu::menu_action(MenuItem* item)
     case MNID_FULLSCREEN:
       if(config->use_fullscreen != options_menu->is_toggled(MNID_FULLSCREEN)) {
         config->use_fullscreen = !config->use_fullscreen;
-        init_video();
+        init_video(); // FIXME: Should call apply_config instead
+        Menu::recalc_pos();
         config->save();
       }
       break;