diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-02-04 18:25:45 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-02-04 18:25:45 +0100 |
| commit | 047047c719fd6c601629fbe13f4429b81b41d8e2 (patch) | |
| tree | f331316bd2812c26de6d4d9c7588f7052135a7d8 /vis-cmds.c | |
| parent | d5d8b5e6b85e5b88980ca50b2067ec33c432cb13 (diff) | |
| download | vis-047047c719fd6c601629fbe13f4429b81b41d8e2.tar.gz vis-047047c719fd6c601629fbe13f4429b81b41d8e2.tar.xz | |
view: do not let new cursors automatically become primary
We currently have the invariant that the primary cursor is always
placed within the visisble viewport.
Previously view_cursors_new would automatically make the new cursor
primary. This in turn causes the viewport to be adjusted triggering
lots of unnecessary redraws. As a result commands creating many new
selections might become unbearably slow.
Instead the caller has to explicitly make the new cursor primary.
Diffstat (limited to 'vis-cmds.c')
0 files changed, 0 insertions, 0 deletions
