mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 13:46:35 +01:00
Greatly reduce redundant window refreshing
This should substantially reduce CPU usage and possibly fix some issues with interface jittering/flashing
This commit is contained in:
@@ -103,6 +103,8 @@ struct Winthread {
|
||||
pthread_mutex_t lock;
|
||||
volatile sig_atomic_t sig_exit_toxic;
|
||||
volatile sig_atomic_t flag_resize;
|
||||
volatile sig_atomic_t flag_refresh;
|
||||
volatile sig_atomic_t last_refresh_flag;
|
||||
};
|
||||
|
||||
struct cqueue_thread {
|
||||
|
||||
Reference in New Issue
Block a user