From 384e7c6c784fd57052e014adf5b9cb33a21443ab Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 4 Jan 2005 13:43:27 +0000 Subject: [PATCH] query for color cursor support SVN revision: 12734 --- legacy/ecore/src/lib/ecore_x/Ecore_X.h | 4 +++- legacy/ecore/src/lib/ecore_x/ecore_x.c | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X.h b/legacy/ecore/src/lib/ecore_x/Ecore_X.h index 64b6850d7b..6f2a30028c 100644 --- a/legacy/ecore/src/lib/ecore_x/Ecore_X.h +++ b/legacy/ecore/src/lib/ecore_x/Ecore_X.h @@ -1146,7 +1146,9 @@ EAPI int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_A ecore_x_window_save_set_del(Ecore_X_Window win); EAPI Ecore_X_Window * ecore_x_window_children_get(Ecore_X_Window win, int *num); - + + EAPI int + ecore_x_cursor_color_supported_get(void); EAPI Ecore_X_Cursor ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y); EAPI void diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x.c b/legacy/ecore/src/lib/ecore_x/ecore_x.c index 395dad8c07..6b0a31034e 100644 --- a/legacy/ecore/src/lib/ecore_x/ecore_x.c +++ b/legacy/ecore/src/lib/ecore_x/ecore_x.c @@ -984,7 +984,11 @@ ecore_x_window_children_get(Ecore_X_Window win, int *num) - +int +ecore_x_cursor_color_supported_get(void) +{ + return _ecore_x_xcursor; +} Ecore_X_Cursor ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y)