emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r117759: Revert x_scroll_bar_handle_click "typo fix"


From: Martin Rudalics
Subject: [Emacs-diffs] trunk r117759: Revert x_scroll_bar_handle_click "typo fix".
Date: Thu, 28 Aug 2014 18:33:38 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117759
revision-id: address@hidden
parent: address@hidden
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Thu 2014-08-28 20:33:18 +0200
message:
  Revert x_scroll_bar_handle_click "typo fix".
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/xterm.c                    xterm.c-20091113204419-o5vbwnq5f7feedwu-244
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-08-28 14:48:02 +0000
+++ b/src/ChangeLog     2014-08-28 18:33:18 +0000
@@ -55,8 +55,6 @@
        bar broken in change from 2014-07-27.
        (xaw_scroll_callback): Provide incremental scrolling with
        horizontal scroll bars.
-       (x_scroll_bar_handle_click): Fix typo introduced in change from
-       2014-07-27.
 
 2014-08-28  Eli Zaretskii  <address@hidden>
 

=== modified file 'src/xterm.c'
--- a/src/xterm.c       2014-08-28 06:46:58 +0000
+++ b/src/xterm.c       2014-08-28 18:33:18 +0000
@@ -6184,7 +6184,7 @@
       /* If the user has released the handle, set it to its final position.  */
       if (event->type == ButtonRelease && bar->dragging != -1)
        {
-         int new_start = y - bar->dragging;
+         int new_start = - bar->dragging;
          int new_end = new_start + bar->end - bar->start;
 
          x_scroll_bar_set_handle (bar, new_start, new_end, 0);


reply via email to

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