* 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).
This commit is contained in:
Jan Djärv 2005-09-20 20:07:15 +00:00
parent 15c77b9ecd
commit 52d166e00e
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -554,6 +554,9 @@ xg_set_geometry (f)
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);
}
}