*fix* fixed issue 172

git-svn-id: http://tint2.googlecode.com/svn/trunk@280 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2009-11-25 17:45:50 +00:00
parent f9ca3a2c0e
commit a32bb100ed

View File

@@ -435,6 +435,8 @@ void event_property_notify (XEvent *e)
else else
return; return;
} }
else
return;
} }
} }
//printf("atom root_win = %s, %s\n", XGetAtomName(server.dsp, at), tsk->title); //printf("atom root_win = %s, %s\n", XGetAtomName(server.dsp, at), tsk->title);
@@ -792,8 +794,11 @@ int main (int argc, char *argv[])
timer = timer_iter->data; timer = timer_iter->data;
if (FD_ISSET(timer->id, &fdset)) { if (FD_ISSET(timer->id, &fdset)) {
uint64_t dummy; uint64_t dummy;
//printf("reading from timer->id=%d\n", timer->id);
read(timer->id, &dummy, sizeof(uint64_t)); read(timer->id, &dummy, sizeof(uint64_t));
//printf("Callback timer->_callback\n");
timer->_callback(); timer->_callback();
//printf("Timer callback finished\n");
} }
timer_iter = timer_iter->next; timer_iter = timer_iter->next;
} }