This commit is contained in:
cuu 2019-01-01 07:09:46 +00:00
parent 2d753bf5b0
commit 71d028d3ac

View File

@ -218,14 +218,15 @@ func InspectionTeam(main_screen *UI.MainScreen) {
}
}
//power stuff dealer
//If not under awesomeWM, AutoRedraw improves the experience of gsnotify
//awesomeWM can hold individual window's content from being polluted without redrawing
func AutoRedraw(main_screen *UI.MainScreen) {
for {
if main_screen.TitleBar.InLowBackLight < 0 {
UI.SwapAndShow()
}
gotime.Sleep(500 * gotime.Millisecond)
gotime.Sleep(650 * gotime.Millisecond)
}
}