From ec29300e2161eb5441871dce7ec7eadcb507dc5e Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Sat, 29 Sep 2012 22:53:57 +0800 Subject: Improvement: Wait infinitely for events when idling Wait infinitely for events when idling, instead of always calling paint_preprocess(), to reduce CPU usage in the case. Thanks to valr for help. --- compton.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compton.h') diff --git a/compton.h b/compton.h index f3c32365d..3fd4541a4 100644 --- a/compton.h +++ b/compton.h @@ -321,6 +321,7 @@ typedef enum { extern int root_height, root_width; extern Atom atom_client_attr; +extern Bool idling; /** * Functions -- cgit v1.2.1