emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/gtkutil.c
Date: Mon, 18 Oct 2004 12:33:01 -0400

Index: emacs/src/gtkutil.c
diff -c emacs/src/gtkutil.c:1.42 emacs/src/gtkutil.c:1.43
*** emacs/src/gtkutil.c:1.42    Fri Aug 27 16:50:02 2004
--- emacs/src/gtkutil.c Mon Oct 18 16:17:15 2004
***************
*** 2888,2896 ****
        gtk_fixed_move (GTK_FIXED (wfixed), wscroll, left, top);
        gtk_widget_set_size_request (wscroll, width, height);
  
-       /* Must force out update so changed scroll bars gets redrawn.  */
-       gdk_window_process_all_updates ();
-       
        /* Scroll bars in GTK has a fixed width, so if we say width 16, it
           will only be its fixed width (14 is default) anyway, the rest is
           blank.  We are drawing the mode line across scroll bars when
--- 2888,2893 ----
***************
*** 2917,2925 ****
           scroll bar so that there is some space (typically 1 pixel) between
           the scroll bar and the edge of the window and between the scroll
           bar and the fringe.  */
  
!       XClearWindow (FRAME_X_DISPLAY (f), GTK_WIDGET_TO_X_WIN (wscroll));
! 
        SET_FRAME_GARBAGED (f);
        cancel_mouse_face (f);
      }
--- 2914,2924 ----
           scroll bar so that there is some space (typically 1 pixel) between
           the scroll bar and the edge of the window and between the scroll
           bar and the fringe.  */
+       gdk_window_clear (wscroll->window);
  
!       /* Must force out update so changed scroll bars gets redrawn.  */
!       gdk_window_process_all_updates ();
!       
        SET_FRAME_GARBAGED (f);
        cancel_mouse_face (f);
      }




reply via email to

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