aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/gtkutil.c9
2 files changed, 12 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f2bef4273ee..e116cdf1d06 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12005-03-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the
4 GTK main loop is entered in xterm.c, thus doing the redraw.
5
12005-03-10 Kim F. Storm <storm@cua.dk> 62005-03-10 Kim F. Storm <storm@cua.dk>
2 7
3 * xdisp.c (pos_visible_p): Fix X value in last line of buffer. 8 * xdisp.c (pos_visible_p): Fix X value in last line of buffer.
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 6dcba3036c0..8bd83e40043 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -2999,9 +2999,14 @@ xg_update_scrollbar_pos (f, scrollbar_id, top, left, width, height)
2999 GtkWidget *wparent = gtk_widget_get_parent (wscroll); 2999 GtkWidget *wparent = gtk_widget_get_parent (wscroll);
3000 3000
3001 /* Move and resize to new values. */ 3001 /* Move and resize to new values. */
3002 gtk_widget_set_size_request (wscroll, width, height);
3003 gtk_fixed_move (GTK_FIXED (wfixed), wparent, left, top); 3002 gtk_fixed_move (GTK_FIXED (wfixed), wparent, left, top);
3004 3003 gtk_widget_set_size_request (wscroll, width, height);
3004 gtk_widget_queue_draw (wparent);
3005 gdk_window_process_all_updates ();
3006 /* GTK does not redraw until the main loop is entered again, but
3007 if there are no X events pending we will not enter it. So we sync
3008 here to get some events. */
3009 x_sync (f);
3005 SET_FRAME_GARBAGED (f); 3010 SET_FRAME_GARBAGED (f);
3006 cancel_mouse_face (f); 3011 cancel_mouse_face (f);
3007 } 3012 }