summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-11 09:43:27 -0400
committerGitHub <noreply@github.com>2020-03-11 09:43:27 -0400
commit6725a2fde0127694176901ebf6217024b832fd8e (patch)
treecffce4fba9f9fbdeaa36457b056409196085fa02 /config.h
parente2a59d5521775042eda2fa64bfc847fc388df6c2 (diff)
parenta96c33e81ef8918743b47511a0488be0d585460a (diff)
Merge pull request #85 from jbenden/xim_interval
Add interval timer to XIM spot updates
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 6ee8ea9..81804d5 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 },
};
/*