summaryrefslogtreecommitdiffstats
path: root/compton.h
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2012-09-29 22:53:57 +0800
committerRichard Grenville <[email protected]>2012-09-29 22:53:57 +0800
commitec29300e2161eb5441871dce7ec7eadcb507dc5e (patch)
treedd0f7f19c95a2e486ad9eb0390b2d0a8e7cada77 /compton.h
parent83f64a227567dfd6ec6c7d60d3bd095cfb9bd93d (diff)
downloadtdebase-ec29300e2161eb5441871dce7ec7eadcb507dc5e.tar.gz
tdebase-ec29300e2161eb5441871dce7ec7eadcb507dc5e.zip
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.
Diffstat (limited to 'compton.h')
-rw-r--r--compton.h1
1 files changed, 1 insertions, 0 deletions
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