e_exec_desktop_instances_find

devs/sachiel/e19
discomfitor 10 years ago
parent c29269c6b5
commit a7148b558f
  1. 4
      ChangeLog
  2. 1
      NEWS
  3. 6
      src/bin/e_exec.c
  4. 2
      src/bin/e_exec.h

@ -1,3 +1,7 @@
2013-05-18 Mike Blumenkrantz
* add e_exec_desktop_instances_find
2013-05-14 Mike Blumenkrantz
* e_desk_last_focused now returns the border it wants to focus

@ -35,6 +35,7 @@ Additions:
* added e_gadcon_repopulate
* added e_comp_win_effect* api
* added deskmirror
* add e_exec_desktop_instances_find
Config:
* Added option for disabling icons in menus
* Added option for disabling pointer warping when performing directional focus changes using winlist

@ -1085,3 +1085,9 @@ _dialog_save_cb(void *data __UNUSED__, void *data2)
fclose(f);
}
EAPI const Eina_List *
e_exec_desktop_instances_find(const Efreet_Desktop *desktop)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(desktop, NULL);
return eina_hash_find(e_exec_instances, desktop->orig_path);
}

@ -38,6 +38,6 @@ EAPI E_Exec_Instance *e_exec_startup_desktop_instance_find(Efreet_Desktop *deskt
EAPI void e_exec_instance_found(E_Exec_Instance *inst);
EAPI void e_exec_instance_watcher_add(E_Exec_Instance *inst, void (*func) (void *data, E_Exec_Instance *inst, E_Exec_Watch_Type type), const void *data);
EAPI void e_exec_instance_watcher_del(E_Exec_Instance *inst, void (*func) (void *data, E_Exec_Instance *inst, E_Exec_Watch_Type type), const void *data);
EAPI const Eina_List *e_exec_desktop_instances_find(const Efreet_Desktop *desktop);
#endif
#endif

Loading…
Cancel
Save