diff options
author | Joseph Benden <joe@benden.us> | 2019-05-17 11:49:55 -0700 |
---|---|---|
committer | Joseph Benden <joe@benden.us> | 2019-05-17 11:54:04 -0700 |
commit | a96c33e81ef8918743b47511a0488be0d585460a (patch) | |
tree | aea8ac9057f0c62079ad9556504d219681e9d40f /config.h | |
parent | 6c0c86191cf55765b8be07bed9bdf67e1d4d8e96 (diff) |
Add interval timer to XIM updates
Signed-off-by: Joseph Benden <joe@benden.us>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 }, }; /* |