[PATCH] gnome-libs-1.2.7 zvtterm.c



In gnome-libs-1.2.7 you no longer can select text in a zvt when you have
scrolled. This makes the gnome-terminal almost useless to me.

This patch fixes that problem. It's just a one liner fix.

I would be happy if I could get a reply on this letter when this
patch is applied. I guess that the maintainer should read this
group. There are four names in the author file of zvt. The top one is
Michael Zucchi which I guess could be the maintainer then. I cc you just
in case.

I wrote about the bug here a week ago but got no reply. So maybe someone
else already have fixed the problem. I have no idea.

/Dennis
--- gnome-libs-1.2.7/zvt/zvtterm.c	Sun Aug 27 18:22:37 2000
+++ gnome-libs-1.2.7.new/zvt/zvtterm.c	Tue Oct 24 11:20:13 2000
@@ -1795,7 +1795,7 @@
   gdk_window_get_pointer (event->window, &x, &y, &mask);
 
   x = ( x - ( widget->style->klass->xthickness + PADDING ) ) / term->charwidth;
-  y = ( y - widget->style->klass->ythickness ) / term->charheight + vx->vt.scrollbackoffset;
+  y = ( y - widget->style->klass->ythickness ) / term->charheight;
 
   if (vx->selectiontype != VT_SELTYPE_NONE){
     


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]