diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2003-01-31 16:43:53 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2003-01-31 16:43:53 +0000 |
commit | 60357a7641accec8282c33e7c6f33ea12d3bbfe1 (patch) | |
tree | 05082d6b318eefc93dce1feed8eaa30abe456a32 | |
parent | ea3f576c95466cb6f6a4ee759a7396e520ff6554 (diff) | |
download | vte-60357a7641accec8282c33e7c6f33ea12d3bbfe1.tar.gz |
pull up selection-always-extending-by-default fix from HEAD, ok
* src/vte.c: pull up selection-always-extending-by-default fix from HEAD, ok
release-team.
* vte.spec: 0.10.16
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/vte.c | 25 | ||||
-rw-r--r-- | vte.spec | 5 |
3 files changed, 24 insertions, 11 deletions
@@ -1,3 +1,8 @@ +2003-01-31 nalin + * src/vte.c: pull up selection-always-extending-by-default fix from + HEAD, ok release-team. + * vte.spec: 0.10.16 + 2003-01-30 Fatih Demir <kabalak@gtranslator.org> * configure.in: Added "tr" (Turkish) to the languages' list. @@ -7125,8 +7125,8 @@ vte_terminal_process_incoming(gpointer data) } } - /* Add the cell we just moved to the region we need to - * refresh for the user. */ + /* Add the cell into which we just moved to the region we + * need to refresh for the user. */ bbox_topleft.x = MIN(bbox_topleft.x, screen->cursor_current.col); bbox_topleft.y = MIN(bbox_topleft.y, @@ -9532,14 +9532,19 @@ vte_terminal_button_press(GtkWidget *widget, GdkEventButton *event) fprintf(stderr, "Handling click ourselves.\n"); } #endif - /* If the user hit shift, override event mode. */ - if ((terminal->pvt->modifiers & GDK_SHIFT_MASK) || - !event_mode) { - /* If shift is pressed in non-event - * mode, extend selection if the cell - * isn't already selected, otherwise - * start selection. */ - if (terminal->pvt->has_selection && + /* If we're in event mode, and the user held down the + * shift key, we start selecting. */ + if (event_mode) { + if (terminal->pvt->modifiers & GDK_SHIFT_MASK) { + start_selecting = TRUE; + } + } else { + /* If the user hit shift, and the location + * clicked isn't selected, and we already have + * a selection, extend selection, otherwise + * start over. */ + if ((terminal->pvt->modifiers & GDK_SHIFT_MASK) && + terminal->pvt->has_selection && !vte_cell_is_selected(terminal, cellx, celly, @@ -1,5 +1,5 @@ Name: vte -Version: 0.10.15 +Version: 0.10.16 Release: 1 Summary: An experimental terminal emulator. License: LGPL @@ -93,6 +93,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/*.a %{_libdir}/pkgconfig/* %changelog +* Fri Jan 31 2003 Nalin Dahyabhai <nalin@redhat.com> 0.10.16-1 +- fix "selection always extends by default" bug + * Wed Jan 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.10.15-1 - make mouse modes mutually-exclusive - update background immediately on realize |