- /* adjust the time heap - windows with CurrentTime for their user_time
- are not in the heap */
- if (time == CurrentTime && otime != CurrentTime)
- client_time_heap_remove(client_user_times, self);
- else if (time != CurrentTime && otime == CurrentTime)
- client_time_heap_add(client_user_times, self);
- else if (time != CurrentTime && otime != CurrentTime) {
- if (event_time_after(time, otime))
- client_time_heap_increase_key(client_user_times, self);
- else
- client_time_heap_decrease_key(client_user_times, self);
- }