unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Not a regression, but shuld go into emacs-24
@ 2014-06-01 10:43 Jan Djärv
  2014-06-01 12:31 ` martin rudalics
  2014-06-01 14:15 ` Stefan Monnier
  0 siblings, 2 replies; 15+ messages in thread
From: Jan Djärv @ 2014-06-01 10:43 UTC (permalink / raw)
  To: emacs-devel

Hello.

Jump-scrolling with Gtk+ scrollbars does not work with emacs 24 or 23.
Previously a left click on the through jumped one page forward or backwards.
A middle click on the through jumped to the place where the click was made.
A right click did nothing.

Or that was the intention.  It turns out that jumping probably never has 
worked with Gtk+.  The situation is now more pronounced as Gtk+ 3 at some 
point changed the meaning of
left click (previously page scroll, now jump)
middle click (previously jump, now does nothing)
and right click (previously did nothing, now does page scroll).

I would therefore like to commit this to the emacs-24 brach, even if the error 
is also present in emacs-23:

=== modified file 'src/xterm.c'
--- src/xterm.c	2014-05-29 16:47:49 +0000
+++ src/xterm.c	2014-06-01 10:36:07 +0000
@@ -4460,6 +4460,7 @@
            part = scroll_bar_handle;
            whole = gtk_adjustment_get_upper (adj) -
              gtk_adjustment_get_page_size (adj);
+          position = value;
            portion = min ((int)position, whole);
            bar->dragging = portion;
          }

Thanks,

	Jan D.



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-06-03 12:40 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-01 10:43 Not a regression, but shuld go into emacs-24 Jan Djärv
2014-06-01 12:31 ` martin rudalics
2014-06-01 18:11   ` Jan Djärv
2014-06-02  7:05     ` martin rudalics
2014-06-02 15:50       ` Jan Djärv
2014-06-02 18:02         ` martin rudalics
2014-06-02 18:14           ` martin rudalics
2014-06-03  5:10           ` Jan Djärv
2014-06-03  7:23             ` martin rudalics
2014-06-03  7:47               ` Jan D.
2014-06-03  9:41                 ` martin rudalics
2014-06-03 10:13                   ` Jan D.
2014-06-03 12:40                     ` martin rudalics
2014-06-01 14:15 ` Stefan Monnier
2014-06-01 18:01   ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).