[vte/vte-next] emulation: End selection mode misses Shift release
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next] emulation: End selection mode misses Shift release
- Date: Fri, 12 Oct 2012 20:07:25 +0000 (UTC)
commit f6f14f6ee6b015e23352a264f3df5537fbd92c46
Author: Egmont Koblinger <egmont gmail com>
Date: Fri Oct 12 22:00:03 2012 +0200
emulation: End selection mode misses Shift release
When shift was released before the mouse button, we were not ending the selection.
https://bugzilla.gnome.org/show_bug.cgi?id=683730
Conflicts:
src/vte.c
src/vte.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 4de9ee6..344970c 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7286,17 +7286,10 @@ vte_view_button_release(GtkWidget *widget, GdkEventButton *event)
event->button, x, y);
switch (event->button) {
case 1:
- /* If Shift is held down, or we're not in events mode,
- * copy the selected text. */
- if ((terminal->pvt->modifiers & GDK_SHIFT_MASK) ||
- !terminal->pvt->mouse_tracking_mode)
- handled = _vte_view_maybe_end_selection (terminal);
+ handled = _vte_view_maybe_end_selection (terminal);
break;
case 2:
- if ((terminal->pvt->modifiers & GDK_SHIFT_MASK) ||
- !terminal->pvt->mouse_tracking_mode) {
- handled = TRUE;
- }
+ handled = TRUE;
break;
case 3:
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]