]> Pileus Git - ~andy/gtk/commit
Add a drag_data_received handler for the label.
authorOwen Taylor <otaylor@redhat.com>
Tue, 12 Jan 1999 23:27:30 +0000 (23:27 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 12 Jan 1999 23:27:30 +0000 (23:27 +0000)
commit24f6d8b887ffdd24e1841340c81b54e41811e165
treea320b3efe6053ceb3d4e17e06d515f0d943fd989
parent5a86cbd116bd55fbb31b3c90baca8cd30dd395d0
Add a drag_data_received handler for the label.

Tue Jan 12 18:30:51 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/testdnd.c (label_drag_data_received): Add
a drag_data_received handler for the label.

Tue Jan 12 15:01:50 1999  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkevents.c: Removed the putback_events queue,
since it was causing problems with event ordering -
just keep a single queue. If we need it, we can
add priorities to events.

* gdk/gdkevents.c: Annotate events with flags - we allocate
a GdkEventPrivate structure in gdk_event_new() and use these
flags to mark an event being translated as "pending" -
I.e., not yet ready to be dequeued. So we can put
the event on the queue and get the order of the
events right. (This solves the double-click problems)

* gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy
of the next event on the event queue.

* gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek()
to check the next event without causing event queue
reordering.
13 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdk.h
gdk/gdkevents.c
gdk/x11/gdkevents-x11.c
gtk/gtkmain.c
gtk/testdnd.c
tests/testdnd.c