forked from enlightenment/efl
Ecore_X: Add a couple of missing functions to the xlib engine.
NB: These are mainly for systray module so that it can be engine independant in that it can just use ecore_x calls now, instead of specific xlib stuff. SVN revision: 61555
This commit is contained in:
parent
9910cd4d3e
commit
cd65bde09c
|
@ -1856,6 +1856,12 @@ ecore_x_pointer_xy_get(Ecore_X_Window win, int *x, int *y)
|
||||||
*y = wy;
|
*y = wy;
|
||||||
} /* ecore_x_pointer_xy_get */
|
} /* ecore_x_pointer_xy_get */
|
||||||
|
|
||||||
|
EAPI unsigned int
|
||||||
|
ecore_x_visual_id_get(Ecore_X_Visual visual)
|
||||||
|
{
|
||||||
|
return XVisualIDFromVisual(visual);
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -716,6 +716,18 @@ ecore_x_selection_parser_del(const char *target)
|
||||||
}
|
}
|
||||||
} /* ecore_x_selection_parser_del */
|
} /* ecore_x_selection_parser_del */
|
||||||
|
|
||||||
|
EAPI void
|
||||||
|
ecore_x_selection_owner_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Time time)
|
||||||
|
{
|
||||||
|
XSetSelectionOwner(_ecore_x_disp, atom, win, time);
|
||||||
|
}
|
||||||
|
|
||||||
|
EAPI Ecore_X_Window
|
||||||
|
ecore_x_selection_owner_get(Ecore_X_Atom atom)
|
||||||
|
{
|
||||||
|
return XGetSelectionOwner(_ecore_x_disp, atom);
|
||||||
|
}
|
||||||
|
|
||||||
/* Locate and run conversion callback for specified selection target */
|
/* Locate and run conversion callback for specified selection target */
|
||||||
void *
|
void *
|
||||||
_ecore_x_selection_parse(const char *target, void *data, int size, int format)
|
_ecore_x_selection_parse(const char *target, void *data, int size, int format)
|
||||||
|
|
Loading…
Reference in New Issue