get rid of global client_last_user_time variable.
authorDana Jansens <danakj@orodu.net>
Wed, 18 Apr 2007 19:22:59 +0000 (19:22 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 18 Apr 2007 19:22:59 +0000 (19:22 +0000)
commit90cd9c62192194d1b3ab868a77fe56a9b1e215c2
tree9110d9f62f519cbc12c3a881f8f6ad8cbaed8897
parentf18d9a95399f9588151bf142b0f03b0781527171
get rid of global client_last_user_time variable.

add ObClientTimeHeap. This is a max-heap of the clients based on their user times. this only includes the clients whose user time is not CurrentTime. the maximum from this heap replaces the client_last_user_time variable, so that you always have the latest time, not the last time that was changed.

hoefully it works, so far it seems to.
Makefile.am
openbox/client.c
openbox/client.h
openbox/client_time_heap.c [new file with mode: 0644]
openbox/client_time_heap.h [new file with mode: 0644]