Mercurial > emacs
changeset 65628:a998f173b21a
* 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).
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 20 Sep 2005 20:07:15 +0000 |
parents | 511f8e9d22ca |
children | a65085945173 |
files | src/ChangeLog src/gtkutil.c |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <jan.h.d@swipnet.se> + + * 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 <storm@cua.dk> * editfns.c (Fformat): Don't scan past end of format string that
--- 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); } }