Yuxuan Shui 5e49ab0861
Make sure draw_idle is stopped in all cases
Previously, compton fails to stop draw_idle in some cases when sw_opti
is enabled.

sw_opti is a feature that limits the draw frequence to vblank frequence.
It adds a delay to drawing when the screen is updated more frequently
than the vblank frequence. However when the delay is not used (i.e. the
screen is updated infrequent enough), compton will start drawing the
frame directly without using the delay. And specically in this case,
compton will fail to stop the draw_idle, causing a callback to be called
once per loop of the mainloop, resulting in high CPU usage.

Fixes #92

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-01-25 00:35:24 +00:00
..
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2018-12-21 17:21:52 +00:00
2019-01-20 17:10:06 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2018-12-20 23:44:38 +00:00
2019-01-20 22:09:22 +00:00
2018-11-03 22:37:18 +00:00
2019-01-20 17:10:06 +00:00
2019-01-20 22:09:22 +00:00
2018-12-20 17:36:23 +00:00
2018-12-30 07:06:47 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2018-12-21 22:59:21 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2018-11-01 11:12:46 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 17:10:06 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
2019-01-20 22:09:22 +00:00
x.c
2019-01-20 22:09:22 +00:00
x.h
2019-01-18 23:30:44 +00:00
2018-10-03 22:14:51 +01:00