display: add tdm_display_flush
[platform/core/uifw/libtdm.git] / include / tdm.h
index 9ae31a3..09a0f7b 100644 (file)
@@ -96,6 +96,13 @@ tdm_error
 tdm_display_handle_events(tdm_display *dpy);
 
 /**
+ * @brief Flush the all events to clients
+ * @param[in] dpy A display object
+ */
+void
+tdm_display_flush(tdm_display *dpy);
+
+/**
  * @brief Get the capabilities of a display object.
  * @details A frontend user can get whether TDM supports pp/capture functionality with this function.
  * @param[in] dpy A display object