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: Thu, 10 Mar 2005 13:07:38 -0500

Index: emacs/src/gtkutil.c
diff -c emacs/src/gtkutil.c:1.63 emacs/src/gtkutil.c:1.64
*** emacs/src/gtkutil.c:1.63    Sun Feb 27 19:57:51 2005
--- emacs/src/gtkutil.c Thu Mar 10 18:07:37 2005
***************
*** 2999,3007 ****
        GtkWidget *wparent = gtk_widget_get_parent (wscroll);
  
        /* Move and resize to new values.  */
-       gtk_widget_set_size_request (wscroll, width, height);
        gtk_fixed_move (GTK_FIXED (wfixed), wparent, left, top);
! 
        SET_FRAME_GARBAGED (f);
        cancel_mouse_face (f);
      }
--- 2999,3012 ----
        GtkWidget *wparent = gtk_widget_get_parent (wscroll);
  
        /* Move and resize to new values.  */
        gtk_fixed_move (GTK_FIXED (wfixed), wparent, left, top);
!       gtk_widget_set_size_request (wscroll, width, height);
!       gtk_widget_queue_draw (wparent);
!       gdk_window_process_all_updates ();
!       /* GTK does not redraw until the main loop is entered again, but
!          if there are no X events pending we will not enter it.  So we sync
!          here to get some events.  */
!       x_sync (f);
        SET_FRAME_GARBAGED (f);
        cancel_mouse_face (f);
      }




reply via email to

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