aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-05 04:05:09 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-05 04:05:09 -0400
commit718024473c5661992f52c339ab1da0981183494c (patch)
tree9070a6cf9eaf828f01d99f7c98b847ccbe3cbe8f
parentaf6c892e245dfae3b6e472e98afa68cf8d8e4939 (diff)
downloadrunes-718024473c5661992f52c339ab1da0981183494c.tar.gz
runes-718024473c5661992f52c339ab1da0981183494c.zip
update selection on right click
-rw-r--r--src/window-xlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index 0d1fe4f..eee7157 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -1090,6 +1090,9 @@ static int runes_window_handle_builtin_button_press(
runes_window_paste(t, e->time);
return 1;
break;
+ case Button3:
+ runes_window_update_selection(t, e->x, e->y);
+ break;
case Button4:
runes_window_visible_scroll(t, t->config->scroll_lines);
return 1;