From 52d166e00e99c1babe8c46bb3e4af97c1bc57bcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Tue, 20 Sep 2005 20:07:15 +0000 Subject: [PATCH] * 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). --- src/ChangeLog | 6 ++++++ src/gtkutil.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 984549c1968..5dc4f76e8b7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 --git a/src/gtkutil.c b/src/gtkutil.c index 3b590e0faed..84ce64beb56 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -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); } } -- 2.39.5