summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-05-31 06:27:39 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-05-31 06:27:39 +0000
commite0e5f1fd52d5bec07600fa90801686bb010b4967 (patch)
tree10c2f3c51ba13c82716f046d87046c7c93cd9de5 /gtk
parent1594006ba289eb5411db638dfc3843dafedc2fc2 (diff)
downloadgdk-pixbuf-e0e5f1fd52d5bec07600fa90801686bb010b4967.tar.gz
Make detached handleboxes work when their parent is minimized, porting the
Mon May 31 02:16:37 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkhandlebox.c: Make detached handleboxes work when their parent is minimized, porting the fix from 1.2. (#1923, #57182) Mon May 31 02:03:17 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkwindow.c (gtk_window_show): Make moving realized, unmapped windows work.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkwindow.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index f01a46973..11c355ead 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -3642,9 +3642,11 @@ gtk_window_show (GtkWidget *widget)
* then we created it with widget->allocation anyhow.
*/
if (!was_realized)
- gdk_window_resize (widget->window,
- configure_request.width,
- configure_request.height);
+ gdk_window_move_resize (widget->window,
+ configure_request.x,
+ configure_request.y,
+ configure_request.width,
+ configure_request.height);
}
gtk_container_check_resize (container);