Searched refs:preferred_action (Results 1 – 3 of 3) sorted by relevance
127 uint32_t available_actions, preferred_action = 0; in data_offer_choose_action() local133 preferred_action = offer->preferred_dnd_action; in data_offer_choose_action()154 if ((preferred_action & available_actions) != 0) in data_offer_choose_action()155 return preferred_action; in data_offer_choose_action()191 uint32_t dnd_actions, uint32_t preferred_action) in data_offer_set_actions() argument202 if (preferred_action && in data_offer_set_actions()203 (!(preferred_action & dnd_actions) || in data_offer_set_actions()204 __builtin_popcount(preferred_action) > 1)) { in data_offer_set_actions()207 "invalid action %x", preferred_action); in data_offer_set_actions()212 offer->preferred_dnd_action = preferred_action; in data_offer_set_actions()
2120 …r_set_actions(struct wl_data_offer *wl_data_offer, uint32_t dnd_actions, uint32_t preferred_action) in wl_data_offer_set_actions() argument2123 WL_DATA_OFFER_SET_ACTIONS, dnd_actions, preferred_action); in wl_data_offer_set_actions()
1662 uint32_t preferred_action);