emacs-devel
[Top][All Lists]
Advanced

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

Re: Scrollbars on GTK.


From: Jan Djärv
Subject: Re: Scrollbars on GTK.
Date: Wed, 11 Feb 2009 20:14:07 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

It removes overscrolling, so it is not an option.

        Jan D.


bqa01573 skrev:
How in this?

--- ./src/gtkutil.c.orig        2008-01-10 21:16:15.000000000 +0900
+++ ./src/gtkutil.c     2009-02-11 22:44:06.000000000 +0900
@@ -3261,14 +3261,6 @@

       adj = gtk_range_get_adjustment (GTK_RANGE (wscroll));

-      /* We do the same as for MOTIF in xterm.c, assume 30 chars per line
-         rather than the real portion value.  This makes the thumb less
likely
-         to resize and that looks better.  */
-      portion = WINDOW_TOTAL_LINES (XWINDOW (bar->window)) * 30;
-      /* When the thumb is at the bottom, position == whole.
-         So we need to increase `whole' to make space for the thumb.  */
-      whole += portion;
-
       if (whole <= 0)
         top = 0, shown = 1;
       else





reply via email to

[Prev in Thread] Current Thread [Next in Thread]