return result;
}
+/**
+ * Note:
+ * This function set action with parameters.
+ * if visible is true, it means app should be visible, so enddraw_finished parameter should be false.
+ * otherwise (visible is false) app should be invisible. Then enddraw_finished param is set to true.
+ * This function doesn't support actions for focus yet.
+ */
bool AppList::setAction(unsigned req_num, const string &appid, const string &role, const string &area, bool visible)
{
bool result = false;
{
continue;
}
- bool edraw_f = false;
+ bool edraw_f = (visible) ? false : true;
WMAction action{appid, role, area, visible, edraw_f};
x.sync_draw_req.push_back(action);