summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-key.c2
-rw-r--r--src/gui/gui-key.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/gui-key.c b/src/gui/gui-key.c
index a9d6e4053..209ce061e 100644
--- a/src/gui/gui-key.c
+++ b/src/gui/gui-key.c
@@ -177,7 +177,7 @@ gui_key_grab_init (int grab_command, const char *delay)
gui_key_grab_count = 0;
gui_key_grab_command = grab_command;
- gui_key_grab_delay = GUI_KEY_GRAB_DELAY_DEFAULT;
+ gui_key_grab_delay = CONFIG_INTEGER(config_look_key_grab_delay);
if (delay != NULL)
{
error = NULL;
diff --git a/src/gui/gui-key.h b/src/gui/gui-key.h
index 8b7aa3e0b..e6af2d88a 100644
--- a/src/gui/gui-key.h
+++ b/src/gui/gui-key.h
@@ -24,8 +24,6 @@ struct t_hashtable;
#define GUI_KEY_BUFFER_BLOCK_SIZE 256
-#define GUI_KEY_GRAB_DELAY_DEFAULT 500
-
#define GUI_KEY_BRACKETED_PASTE_START "\x1B[200~"
#define GUI_KEY_BRACKETED_PASTE_END "\x1B[201~"
#define GUI_KEY_BRACKETED_PASTE_LENGTH 6