]> Pileus Git - ~andy/gtk/commit
Take putback events into account
authorOwen Taylor <otaylor@src.gnome.org>
Sat, 17 Jan 1998 23:24:09 +0000 (23:24 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sat, 17 Jan 1998 23:24:09 +0000 (23:24 +0000)
commit443648028c081c490522e5a9a238733f6fc77e75
treeec594db54f92acc5d49a097b636534f597930fab
parent2e99581612d53f9bf63e8bfb7403954231d99c24
Take putback events into account

* gdk/gdk.c (gdk_events_pending): Take putback events into
  account

* gdk/gdk.c (gdk_event_free): Handle dropdataavaible memory
  allocation correctly. (Incompatible change: client must
  _not_ fre event->data and event->data_type.)

* gdk/gdk.c (gdk_event_translate): Changed DND dragging
  so that we don't ungrab pointer when we reenter window
  to prevent extra Enter/Leave effects which had bad
  effects.
  Changed drag zone handling to not send uncessary
  DragEnter events.
  Fixed EnterNotify/LeaveNotify handling. (Only pay
  attention to events on window, don't specify these
  events to XGrabPointer - that isn't valid, and handle
  reverse the sense of the handling of LeaveNotify.)

* gdk/gdkwindow.c (gdk_window_remove_filter): Free removed
  filter.

* gtk/gtk.defs (GdkFont): gdk_font_free => gdk_font_unref

* gtk/gtkmain.{c,h} (gtk_events_pending): new function - apps
  should use this instead of gdk_events_pending.

* gtk/gtkvbbox.h: Fixed a duplication in the headers.

* gtk/testgtk.c (dnd_drop): Don't free the drop data,
  it belongs to the event.
gdk/gdk.c
gdk/gdkwindow.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkwindow-x11.c
gtk/gtk.defs
gtk/gtkmain.c
gtk/gtkmain.h
gtk/gtkvbbox.h
gtk/testgtk.c
tests/testgtk.c