emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/xterm.c


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c
Date: Mon, 17 Mar 2003 18:04:02 -0500

Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.780 emacs/src/xterm.c:1.781
*** emacs/src/xterm.c:1.780     Sun Mar 16 15:46:42 2003
--- emacs/src/xterm.c   Mon Mar 17 18:03:53 2003
***************
*** 6395,6401 ****
  
  #else /* !USE_MOTIF, i.e. Xaw or GTK */
  #ifdef USE_GTK
! /* Scroll bar callback for Gtk scroll bars.  WIDGET is the scroll
     bar adjustment widget.  DATA is a pointer to the scroll_bar structure. */
  
  static void
--- 6395,6401 ----
  
  #else /* !USE_MOTIF, i.e. Xaw or GTK */
  #ifdef USE_GTK
! /* Scroll bar callback for GTK scroll bars.  WIDGET is the scroll
     bar adjustment widget.  DATA is a pointer to the scroll_bar structure. */
  
  static void
***************
*** 6453,6465 ****
      {
        part = scroll_bar_handle;
        whole = adj->upper - adj->page_size;
!       portion = min (position, whole);
!       bar->dragging = make_number (portion);
      }
  
    if (part >= 0)
      {
-       xg_ignore_next_thumb = 1;
        window_being_scrolled = bar->window;
        last_scroll_bar_part = part;
        x_send_scroll_bar_event (bar->window, part, portion, whole);
--- 6453,6464 ----
      {
        part = scroll_bar_handle;
        whole = adj->upper - adj->page_size;
!       portion = min ((int)position, whole);
!       bar->dragging = make_number ((int)portion);
      }
  
    if (part >= 0)
      {
        window_being_scrolled = bar->window;
        last_scroll_bar_part = part;
        x_send_scroll_bar_event (bar->window, part, portion, whole);




reply via email to

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