mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
30533f0397
commit
8051b9d2bc
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user