# HG changeset patch # User Jan Dj¸«£rv # Date 1127246835 0 # Node ID a998f173b21a4767bddf067045390caeae729dcc # Parent 511f8e9d22ca51fd4d13fc3ade93553b5214367c * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program positions have been set for the frame (as is done for frames in special-display-buffer-names). diff -r 511f8e9d22ca -r a998f173b21a src/ChangeLog --- a/src/ChangeLog Tue Sep 20 17:47:28 2005 +0000 +++ b/src/ChangeLog Tue Sep 20 20:07:15 2005 +0000 @@ -1,3 +1,9 @@ +2005-09-20 Jan Dj,Ad(Brv + + * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program + positions have been set for the frame (as is done for frames in + special-display-buffer-names). + 2005-09-19 Kim F. Storm * editfns.c (Fformat): Don't scan past end of format string that diff -r 511f8e9d22ca -r a998f173b21a src/gtkutil.c --- a/src/gtkutil.c Tue Sep 20 17:47:28 2005 +0000 +++ b/src/gtkutil.c Tue Sep 20 20:07:15 2005 +0000 @@ -554,6 +554,9 @@ if (!gtk_window_parse_geometry (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), geom_str)) fprintf (stderr, "Failed to parse: '%s'\n", geom_str); + } else if (f->size_hint_flags & PPosition) { + gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), + f->left_pos, f->top_pos); } }