From ab30a02e5f48d3fb3f8bf152941056d84305ddbe Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sun, 8 Mar 1998 21:47:14 +0000 Subject: - Show selection correctly when starting selection with arrows Sun Mar 8 15:53:33 1998 Owen Taylor * gtk/gtktext.c: - Show selection correctly when starting selection with arrows - Display pixmap background only when not editable - Redraw focus area more carefully to prevent flashing (and make style of drawing consistent with Entry) * gtk/gtktreeitem.c: ref colormaps for pixmap by colormap storage. * gtk/gtkrc.c: Store a separate style for each RcStyle for each colormap, so we can handle background pixmaps correctly, which need to be per-colormap. (Leaks colormaps...) Parse text color style entries correctly. * gtk/testgtk.c: insert text without fg color gtk/testgtkrc: move "*" after rest, so the other class styles take effect * gdk/gdkwindow.c gdk/gdk.c gdk/gdkprivate.h: Send DND events safely, in case drop window disappears. (Performance hit because XSync()'s are necessary) * gdk/gdk.h gdk/gdkpixmap.c: Added gdk_pixmap_colormap_create_from_xpm[_d] to allow creating pixmaps from xpm's before you have a GdkWindow. --- gdk/gdkprivate.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdk/gdkprivate.h') diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h index 6ca8f92e20..0d0054b45e 100644 --- a/gdk/gdkprivate.h +++ b/gdk/gdkprivate.h @@ -223,6 +223,9 @@ void gdk_xid_table_insert (XID *xid, void gdk_xid_table_remove (XID xid); gpointer gdk_xid_table_lookup (XID xid); +gint gdk_send_xevent (Window window, gboolean propagate, glong event_mask, + XEvent *event_send); + /* If you pass x = y = -1, it queries the pointer to find out where it currently is. If you pass x = y = -2, it does anything necessary -- cgit v1.2.1