projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f650476
)
Reposition menu on fullscreen toggle
author
Ingo Ruhnke
<grumbel@gmx.de>
Sun, 25 May 2008 16:42:19 +0000
(16:42 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Sun, 25 May 2008 16:42:19 +0000
(16:42 +0000)
SVN-Revision: 5518
src/options_menu.cpp
patch
|
blob
|
history
diff --git
a/src/options_menu.cpp
b/src/options_menu.cpp
index
6a5b364
..
644028c
100644
(file)
--- a/
src/options_menu.cpp
+++ b/
src/options_menu.cpp
@@
-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;