too.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
EAPI Eina_Bool ecore_drm_device_master_set(Ecore_Drm_Device *dev);
EAPI Eina_Bool ecore_drm_device_master_drop(Ecore_Drm_Device *dev);
EAPI int ecore_drm_device_fd_get(Ecore_Drm_Device *dev);
+EAPI void ecore_drm_device_window_set(Ecore_Drm_Device *dev, void *window);
EAPI Eina_Bool ecore_drm_tty_open(Ecore_Drm_Device *dev, const char *name);
EAPI Eina_Bool ecore_drm_tty_close(Ecore_Drm_Device *dev);
if (!dev) return -1;
return dev->drm.fd;
}
+
+/**
+ * TODO: Doxy
+ *
+ * @since 1.10
+ */
+EAPI void
+ecore_drm_device_window_set(Ecore_Drm_Device *dev, void *window)
+{
+ /* check for valid device */
+ if ((!dev) || (dev->drm.fd < 0)) return;
+
+ dev->window = window;
+}