Set the window hints on every map so that GTK_WIN_POS_MOUSE works

Mon Apr  6 23:48:29 1998  Owen Taylor  <owt1@cornell.edu>

	* gtk/gtkwindow.c (gtk_window_realize): Set the
	window hints on every map so that GTK_WIN_POS_MOUSE
	works correctly.
This commit is contained in:
Owen Taylor 1998-04-07 04:17:27 +00:00 committed by Owen Taylor
parent 30533f0397
commit 8051b9d2bc
8 changed files with 43 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Mon Apr 6 23:48:29 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkwindow.c (gtk_window_realize): Set the
window hints on every map so that GTK_WIN_POS_MOUSE
works correctly.
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:

View File

@ -1,3 +1,9 @@
Mon Apr 6 23:48:29 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkwindow.c (gtk_window_realize): Set the
window hints on every map so that GTK_WIN_POS_MOUSE
works correctly.
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:

View File

@ -1,3 +1,9 @@
Mon Apr 6 23:48:29 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkwindow.c (gtk_window_realize): Set the
window hints on every map so that GTK_WIN_POS_MOUSE
works correctly.
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:

View File

@ -1,3 +1,9 @@
Mon Apr 6 23:48:29 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkwindow.c (gtk_window_realize): Set the
window hints on every map so that GTK_WIN_POS_MOUSE
works correctly.
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:

View File

@ -1,3 +1,9 @@
Mon Apr 6 23:48:29 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkwindow.c (gtk_window_realize): Set the
window hints on every map so that GTK_WIN_POS_MOUSE
works correctly.
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:

View File

@ -1,3 +1,9 @@
Mon Apr 6 23:48:29 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkwindow.c (gtk_window_realize): Set the
window hints on every map so that GTK_WIN_POS_MOUSE
works correctly.
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:

View File

@ -1,3 +1,9 @@
Mon Apr 6 23:48:29 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkwindow.c (gtk_window_realize): Set the
window hints on every map so that GTK_WIN_POS_MOUSE
works correctly.
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:

View File

@ -568,6 +568,7 @@ gtk_window_map (GtkWidget *widget)
!GTK_WIDGET_MAPPED (window->bin.child))
gtk_widget_map (window->bin.child);
gtk_window_set_hints (widget, &widget->requisition);
gdk_window_show (widget->window);
}
@ -637,8 +638,6 @@ gtk_window_realize (GtkWidget *widget)
widget->style = gtk_style_attach (widget->style, widget->window);
gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
gtk_window_set_hints (widget, &widget->requisition);
}
static void