summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-10-31 15:00:53 +1100
committerPaul Mackerras <paulus@samba.org>2007-06-23 20:58:06 +1000
commita2c22362cc2c0bb0451bc8098b3ba0c9353ebe02 (patch)
treefe5336976069b666488eefc303ab2ca2d80cd2f3 /commit.c
parent6fb735aedb25eade3d523053cb05c030a1cc06b3 (diff)
downloadgit-a2c22362cc2c0bb0451bc8098b3ba0c9353ebe02.tar.gz
gitk: Limit how often we change the canvas scrolling region
For some unknown reason, changing the scrolling region on the canvases provokes multiple milliseconds worth of computation in the X server, and this can end up slowing gitk down significantly. This works around the problem by limiting the rate at which we update the scrolling region after the first 100 rows to at most 2 per second. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions