diff options
author | Richard Grenville <[email protected]> | 2012-09-29 22:53:57 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2012-09-29 22:53:57 +0800 |
commit | ec29300e2161eb5441871dce7ec7eadcb507dc5e (patch) | |
tree | dd0f7f19c95a2e486ad9eb0390b2d0a8e7cada77 /compton.h | |
parent | 83f64a227567dfd6ec6c7d60d3bd095cfb9bd93d (diff) | |
download | tdebase-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -321,6 +321,7 @@ typedef enum { extern int root_height, root_width; extern Atom atom_client_attr; +extern Bool idling; /** * Functions |