forked from enlightenment/enlightenment
set default cursor on root window for xwl pointer
ref T5593 #TheDisappointer
This commit is contained in:
parent
8121f20a03
commit
2b8c70fe98
|
@ -366,7 +366,7 @@ _e_pointer_cb_free(E_Pointer *ptr)
|
||||||
static void
|
static void
|
||||||
_e_pointer_x11_setup(E_Pointer *ptr, const char *cursor)
|
_e_pointer_x11_setup(E_Pointer *ptr, const char *cursor)
|
||||||
{
|
{
|
||||||
if (ptr->e_cursor)
|
if (ptr->e_cursor && (e_comp->comp_type == E_PIXMAP_TYPE_X))
|
||||||
{
|
{
|
||||||
/* create a pointer canvas if we need to */
|
/* create a pointer canvas if we need to */
|
||||||
if ((!ptr->buffer_evas) && ptr->win) _e_pointer_canvas_add(ptr);
|
if ((!ptr->buffer_evas) && ptr->win) _e_pointer_canvas_add(ptr);
|
||||||
|
@ -815,11 +815,8 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
|
||||||
E_API void
|
E_API void
|
||||||
e_pointer_window_add(E_Pointer *ptr, Ecore_Window win)
|
e_pointer_window_add(E_Pointer *ptr, Ecore_Window win)
|
||||||
{
|
{
|
||||||
char buf[1024];
|
|
||||||
|
|
||||||
ptr->win = win;
|
ptr->win = win;
|
||||||
_e_pointer_theme_buf(ptr, buf);
|
_e_pointer_x11_setup(ptr, "default");
|
||||||
_e_pointer_x11_setup(ptr, buf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EINTERN void
|
EINTERN void
|
||||||
|
|
Loading…
Reference in New Issue