Skip to content

Commit

Permalink
Merge branch 'master' into obs2611
Browse files Browse the repository at this point in the history
  • Loading branch information
henke37 committed Feb 7, 2021
2 parents 057ad33 + c70e15c commit e4efe7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tick.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ void window_follower_tick(void *data, float seconds) {
//if (filter->pos.x > 400) filter->pos.x -= 400;

if(filter->hwndPtr) {

if(IsWindow(*filter->hwndPtr)) {
if(IsWindow(*filter->hwndPtr) && !IsIconic(*filter->hwndPtr)) {
realTick(filter);
}
}
Expand Down

0 comments on commit e4efe7e

Please sign in to comment.