Adding a more efficient drawing code.

Thanks Mihail Zenkov <mihail.zenkov@gmail.com> for giving the hint!
This commit is contained in:
Christoph Lohmann
2013-02-15 19:10:22 +01:00
parent b7261c84aa
commit 95033753be
2 changed files with 42 additions and 28 deletions

View File

@ -9,10 +9,13 @@ static char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=fals
static int borderpx = 2;
static char shell[] = "/bin/sh";
/* double-click timeout (in milliseconds) between clicks for selection */
/* timeouts (in milliseconds) */
static unsigned int doubleclicktimeout = 300;
static unsigned int tripleclicktimeout = 600;
/* frames per second st should at maximum draw to the screen */
static unsigned int framespersecond = 60;
/* TERM value */
static char termname[] = "st-256color";