summaryrefslogtreecommitdiff
path: root/gdk/gdkcursorprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-03 01:59:15 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-04 00:07:13 +0100
commit5adf21a17d7674ef4a8b39575d05570d7fe55fbc (patch)
treecdcee3bf97fd7d14d4451b5e84017b8bf869ff5e /gdk/gdkcursorprivate.h
parent0cad0caf7dcdc29955ed7dde644a762d2f327d7f (diff)
downloadgtk+-5adf21a17d7674ef4a8b39575d05570d7fe55fbc.tar.gz
cursor: Turn new_from_surface() into new_from_texture()
Also turn all the arguments into read-only properties on the GdkCursor object.
Diffstat (limited to 'gdk/gdkcursorprivate.h')
-rw-r--r--gdk/gdkcursorprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkcursorprivate.h b/gdk/gdkcursorprivate.h
index 34f58b0136..6164abaaa3 100644
--- a/gdk/gdkcursorprivate.h
+++ b/gdk/gdkcursorprivate.h
@@ -41,6 +41,9 @@ struct _GdkCursor
GdkDisplay *display;
char *name;
+ GdkTexture *texture;
+ int hotspot_x;
+ int hotspot_y;
};
struct _GdkCursorClass