tdm_hwc_window_set_buffer(tdm_hwc_window *hwc_window, tbm_surface_h buffer);
/**
- * @brief Get the property which has a given id.
- * @param[in] hwc_window A hwc window object
+ * @brief Set the property which has a given id.
+ * @param[in] hwc_window A hwc window object
* @param[in] id The property id
- * @param[out] value The value of the propery id
+ * @param[in] value The value of the propery id
* @return #TDM_ERROR_NONE if success. Otherwise, error value.
*/
tdm_error
-tdm_hwc_window_get_property(tdm_hwc_window *hwc_window, uint32_t id, tdm_value *value);
+tdm_hwc_window_set_property(tdm_hwc_window *hwc_window, uint32_t id, tdm_value value);
/**
- * @brief Set the property which has a given id.
- * @param[in] hwc_window A hwc window object
+ * @brief Get the property which has a given id.
+ * @param[in] hwc_window A hwc window object
* @param[in] id The property id
- * @param[in] value The value of the propery id
+ * @param[out] value The value of the propery id
* @return #TDM_ERROR_NONE if success. Otherwise, error value.
*/
tdm_error
-tdm_hwc_window_set_property(tdm_hwc_window *hwc_window, uint32_t id, tdm_value value);
+tdm_hwc_window_get_property(tdm_hwc_window *hwc_window, uint32_t id, tdm_value *value);
/**
* @brief Get the constraints of hwc_window