aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-04 13:10:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-04 13:10:37 +0000
commit739c5cf7f026bd7792f94276e8d6b2587a6ff597 (patch)
treed2b36544dd734a34e6969d167b85e3913e7cf361 /input.c
parentselection: try to write selection data synchronously first (diff)
input: remove unneeded(?) term_reset_view() calls
Not sure why these were added here; they don't appear to be needed (we're writing to the client - it's up to the client to echo stuff, in which case we redraw as usual).
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 40cfa613..545e35d8 100644
--- a/input.c
+++ b/input.c
@@ -230,7 +230,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
else if (sym == XKB_KEY_V) {
selection_from_clipboard(term, serial);
- term_reset_view(term);
+ //term_reset_view(term);
found_map = true;
}
@@ -324,7 +324,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
term_to_slave(term, buf, count);
}
- term_reset_view(term);
+ //term_reset_view(term);
selection_cancel(term);
}
}