All pastes #78658 Raw Edit

Unnamed

public c v1 · immutable
·published 2006-07-04 11:37 UTC
rendered paste body
void _add_monitor (E_Module *m) {        monitor = ecore_file_monitor_add("/sys/devices/platform/hdaps/position",_switch_desktop, m);        printf("%s", "blah monitor added.");}static void _switch_desktop(void *data, Ecore_File_Monitor *monitor, Ecore_File_Event event, const char *path){        printf("%s", "in _switch_desktop");        E_Module *m;        FILE *f;        char buf[1024];        char tmpx[1024];        char tmpy[1024];