forked from AuroraMiddleware/gtk
Use button->event_window for the fake leave event, otherwise the button
2004-12-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Use button->event_window for the fake leave event, otherwise the button ignores it.
This commit is contained in:
parent
cc0cc60e2a
commit
2851547be2
@ -1,3 +1,9 @@
|
||||
2004-12-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Use
|
||||
button->event_window for the fake leave event, otherwise
|
||||
the button ignores it.
|
||||
|
||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Make this
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Use
|
||||
button->event_window for the fake leave event, otherwise
|
||||
the button ignores it.
|
||||
|
||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Make this
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Use
|
||||
button->event_window for the fake leave event, otherwise
|
||||
the button ignores it.
|
||||
|
||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Make this
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Use
|
||||
button->event_window for the fake leave event, otherwise
|
||||
the button ignores it.
|
||||
|
||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Make this
|
||||
|
@ -8115,7 +8115,7 @@ _gtk_tree_view_column_start_drag (GtkTreeView *tree_view,
|
||||
|
||||
send_event = gdk_event_new (GDK_LEAVE_NOTIFY);
|
||||
send_event->crossing.send_event = TRUE;
|
||||
send_event->crossing.window = g_object_ref (column->button->window);
|
||||
send_event->crossing.window = g_object_ref (GTK_BUTTON (column->button)->event_window);
|
||||
send_event->crossing.subwindow = NULL;
|
||||
send_event->crossing.detail = GDK_NOTIFY_ANCESTOR;
|
||||
send_event->crossing.time = GDK_CURRENT_TIME;
|
||||
|
Loading…
Reference in New Issue
Block a user