summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-20 08:40:22 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-03-20 08:40:22 -0400
commit72c555f605858e6ddb3ff1c34c9914cf9677c34b (patch)
tree48a1a6d226c7d821e26b0c5628d829dfd2ae5df2 /config.h
parentec72bbe23e78e94167d72db27b3bbb4afd643672 (diff)
parent6725a2fde0127694176901ebf6217024b832fd8e (diff)
Merge branch 'master' of github.com:LukeSmithxyz/st
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index c875eda..58632e2 100644
--- a/config.h
+++ b/config.h
@@ -53,6 +53,13 @@ static unsigned int actionfps = 30;
static unsigned int blinktimeout = 800;
/*
+ * interval (in milliseconds) between each successive call to ximspot. This
+ * improves terminal performance while not reducing functionality to those
+ * whom need XIM support.
+ */
+int ximspot_update_interval = 1000;
+
+/*
* thickness of underline and bar cursors
*/
static unsigned int cursorthickness = 2;
@@ -187,6 +194,7 @@ ResourcePref resources[] = {
{ "cwscale", FLOAT, &cwscale },
{ "chscale", FLOAT, &chscale },
{ "alpha", FLOAT, &alpha },
+ { "ximspot_update_interval", INTEGER, &ximspot_update_interval },
};
/*