forked from AuroraMiddleware/gtk
Update the user time on the window when a drop happens. (#169364,
2005-06-09 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update the user time on the window when a drop happens. (#169364, Alexander Hunziker, patch by Elijah Newren)
This commit is contained in:
parent
92690fa3c2
commit
13a9dd210a
@ -1,5 +1,9 @@
|
||||
2005-06-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
|
||||
the user time on the window when a drop happens. (#169364, Alexander
|
||||
Hunziker, patch by Elijah Newren)
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c: Small markup fixes.
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-06-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
|
||||
the user time on the window when a drop happens. (#169364, Alexander
|
||||
Hunziker, patch by Elijah Newren)
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c: Small markup fixes.
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-06-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
|
||||
the user time on the window when a drop happens. (#169364, Alexander
|
||||
Hunziker, patch by Elijah Newren)
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c: Small markup fixes.
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
|
@ -1741,6 +1741,8 @@ motif_drop_start (GdkEvent *event,
|
||||
event->dnd.x_root = x_root;
|
||||
event->dnd.y_root = y_root;
|
||||
|
||||
gdk_x11_window_set_user_time (event->any.window, timestamp);
|
||||
|
||||
g_object_ref (new_context);
|
||||
display_x11->current_dest_drag = new_context;
|
||||
|
||||
@ -2904,6 +2906,8 @@ xdnd_drop_filter (GdkXEvent *xev,
|
||||
event->dnd.time = time;
|
||||
event->dnd.x_root = private->last_x;
|
||||
event->dnd.y_root = private->last_y;
|
||||
|
||||
gdk_x11_window_set_user_time (event->any.window, time);
|
||||
|
||||
return GDK_FILTER_TRANSLATE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user