diff options
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r-- | src/core/wee-command.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 8d12aeea0..7f4f99f61 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -3951,7 +3951,6 @@ COMMAND_CALLBACK(mouse) /* enable mouse */ if (string_strcasecmp (argv[1], "enable") == 0) { - gui_mouse_enable (); config_file_option_set (config_look_mouse, "1", 1); gui_chat_printf (NULL, _("Mouse enabled")); if (argc > 2) @@ -3962,7 +3961,6 @@ COMMAND_CALLBACK(mouse) /* disable mouse */ if (string_strcasecmp (argv[1], "disable") == 0) { - gui_mouse_disable (); config_file_option_set (config_look_mouse, "0", 1); gui_chat_printf (NULL, _("Mouse disabled")); if (argc > 2) @@ -3975,13 +3973,11 @@ COMMAND_CALLBACK(mouse) { if (gui_mouse_enabled) { - gui_mouse_disable (); config_file_option_set (config_look_mouse, "0", 1); gui_chat_printf (NULL, _("Mouse disabled")); } else { - gui_mouse_enable (); config_file_option_set (config_look_mouse, "1", 1); gui_chat_printf (NULL, _("Mouse enabled")); } |