aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2014-04-24 09:14:43 +0000
committernicm <nicm>2014-04-24 09:14:43 +0000
commitbec6c807cd580b003cd94b52a20caa2cbc7a0753 (patch)
tree99a3ae9d6e99ceb99da10ff388fa2c4957a505e2 /input-keys.c
parent7ab2690be8a451d123b12906b729e163ea37e0dd (diff)
downloadrtmux-bec6c807cd580b003cd94b52a20caa2cbc7a0753.tar.gz
rtmux-bec6c807cd580b003cd94b52a20caa2cbc7a0753.tar.bz2
rtmux-bec6c807cd580b003cd94b52a20caa2cbc7a0753.zip
There is no longer a need for a paste_stack struct or for global_buffers
to be global. Move to paste.c.
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input-keys.c b/input-keys.c
index 0370a684..6e21cc0c 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -240,7 +240,7 @@ input_mouse(struct window_pane *wp, struct session *s, struct mouse_event *m)
if (m->button == 1 && (m->event & MOUSE_EVENT_CLICK) &&
options_get_number(&wp->window->options, "mode-mouse") == 1) {
- pb = paste_get_top(&global_buffers);
+ pb = paste_get_top();
if (pb != NULL) {
paste_send_pane(pb, wp, "\r",
wp->screen->mode & MODE_BRACKETPASTE);