forked from AuroraMiddleware/gtk
Fix the offsets of the input-only window if we also have a visible window.
2007-04-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets of the input-only window if we also have a visible window. (#405089) svn path=/trunk/; revision=17683
This commit is contained in:
parent
6c98ef3356
commit
8dd48ab148
@ -1,3 +1,9 @@
|
||||
2007-04-28 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
|
||||
of the input-only window if we also have a visible window.
|
||||
(#405089)
|
||||
|
||||
2007-04-28 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
|
||||
|
@ -369,7 +369,6 @@ gtk_event_box_set_above_child (GtkEventBox *event_box,
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void
|
||||
gtk_event_box_realize (GtkWidget *widget)
|
||||
{
|
||||
@ -420,7 +419,10 @@ gtk_event_box_realize (GtkWidget *widget)
|
||||
if (!visible_window || priv->above_child)
|
||||
{
|
||||
attributes.wclass = GDK_INPUT_ONLY;
|
||||
attributes_mask = GDK_WA_X | GDK_WA_Y;
|
||||
if (!visible_window)
|
||||
attributes_mask = GDK_WA_X | GDK_WA_Y;
|
||||
else
|
||||
attributes_mask = 0;
|
||||
|
||||
priv->event_window = gdk_window_new (widget->window,
|
||||
&attributes, attributes_mask);
|
||||
|
Loading…
Reference in New Issue
Block a user