summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJoseph Benden <joe@benden.us>2019-05-17 11:49:55 -0700
committerJoseph Benden <joe@benden.us>2019-05-17 11:54:04 -0700
commita96c33e81ef8918743b47511a0488be0d585460a (patch)
treeaea8ac9057f0c62079ad9556504d219681e9d40f /config.h
parent6c0c86191cf55765b8be07bed9bdf67e1d4d8e96 (diff)
Add interval timer to XIM updates
Signed-off-by: Joseph Benden <joe@benden.us>
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 e68878c..c0c2ff9 100644
--- a/config.h
+++ b/config.h
@@ -52,6 +52,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;
@@ -184,6 +191,7 @@ ResourcePref resources[] = {
{ "cwscale", FLOAT, &cwscale },
{ "chscale", FLOAT, &chscale },
{ "alpha", FLOAT, &alpha },
+ { "ximspot_update_interval", INTEGER, &ximspot_update_interval },
};
/*