diff options
author | Owen Taylor <otaylor@src.gnome.org> | 1998-01-17 23:24:09 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-01-17 23:24:09 +0000 |
commit | 443648028c081c490522e5a9a238733f6fc77e75 (patch) | |
tree | ec594db54f92acc5d49a097b636534f597930fab /gtk/gtkmain.h | |
parent | 2e99581612d53f9bf63e8bfb7403954231d99c24 (diff) | |
download | gtk+-443648028c081c490522e5a9a238733f6fc77e75.tar.gz |
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.
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r-- | gtk/gtkmain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index 708b2c1d68..9d1edb9436 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -34,6 +34,7 @@ void gtk_init (int *argc, char ***argv); void gtk_exit (gint error_code); gchar* gtk_set_locale (void); +gint gtk_events_pending (void); void gtk_main (void); guint gtk_main_level (void); void gtk_main_quit (void); |