tudurom / windowchef

Window Chef is a stacking window manager that cooks windows with orders from the Waitron
https://tudorr.ro/software/windowchef/
ISC License
203 stars 14 forks source link

fix invalid if guard (typo) #69

Closed lucat1 closed 3 years ago

tudurom commented 3 years ago

Did you identify any bugs that this might solve? It's indeed a good fix.

lucat1 commented 3 years ago

I was reading trough the code and noticed the typo. The issue doesn’t cause any bugs as this mistaken if clause only executes some unnecessary computations. What I believe happens is that it calls get_randr and fit_on_screen even though the screens haven’t really changed.

tudurom commented 3 years ago

Thank you for the contribution!