From 90cd9c62192194d1b3ab868a77fe56a9b1e215c2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 18 Apr 2007 19:22:59 +0000 Subject: 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5d463728..c66c1398 100644 --- a/Makefile.am +++ b/Makefile.am @@ -137,6 +137,8 @@ openbox_openbox_SOURCES = \ openbox/action.h \ openbox/client.c \ openbox/client.h \ + openbox/client_time_heap.c \ + openbox/client_time_heap.h \ openbox/client_list_menu.c \ openbox/client_list_menu.h \ openbox/client_list_combined_menu.c \ -- cgit v1.2.3