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.
This commit is contained in:
@ -321,6 +321,7 @@ typedef enum {
|
||||
|
||||
extern int root_height, root_width;
|
||||
extern Atom atom_client_attr;
|
||||
extern Bool idling;
|
||||
|
||||
/**
|
||||
* Functions
|
||||
|
Reference in New Issue
Block a user