summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkwindow-x11.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-06-15 18:37:18 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-06-15 18:37:18 +0000
commit3c96358fd1b79dcd8999fce6d7bf1efa7fb8584a (patch)
tree98a445788260e17329c64b7ab2ebde7821ee5fe5 /gdk/x11/gdkwindow-x11.h
parentcd8722698676ffbbe8ddf9c357549ca6effcbbf5 (diff)
downloadgtk+-3c96358fd1b79dcd8999fce6d7bf1efa7fb8584a.tar.gz
Keep a reference to the GdkCursor and add a private getter for it, so that
2005-06-15 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.[hc]: Keep a reference to the GdkCursor and add a private getter for it, so that we can update the cursor when the cursor theme changes. * gdk/gdk.symbols: * gdk/x11/gdkx.h: * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): New function to change the cursor theme.
Diffstat (limited to 'gdk/x11/gdkwindow-x11.h')
-rw-r--r--gdk/x11/gdkwindow-x11.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/x11/gdkwindow-x11.h b/gdk/x11/gdkwindow-x11.h
index f95505aaff..63e721e4e2 100644
--- a/gdk/x11/gdkwindow-x11.h
+++ b/gdk/x11/gdkwindow-x11.h
@@ -75,6 +75,7 @@ struct _GdkWindowImplX11
GdkXPositionInfo position_info;
GdkToplevelX11 *toplevel; /* Toplevel-specific information */
+ GdkCursor *cursor;
gint8 toplevel_window_type;
guint override_redirect : 1;
guint use_synchronized_configure : 1;
@@ -158,6 +159,8 @@ void _gdk_x11_window_tmp_reset_bg (GdkWindow *window,
gboolean recurse);
+GdkCursor *_gdk_x11_window_get_cursor (GdkWindow *window);
+
G_END_DECLS
#endif /* __GDK_WINDOW_X11_H__ */