berlam / awesome-switcher

Switch clients in Awesome WM with the familiar preview functionality
ISC License
98 stars 15 forks source link

Fixed bug: function "clientOpacity" has to be declared above "cycle" #6

Closed wyv3rn closed 7 years ago

wyv3rn commented 7 years ago

Hey, I'm sorry, in my last pull request I have overlooked that the clientOpacity(...) function uses the cycle(...) function which I moved up. This leads to an error if the client_opacity setting is true.

So I have moved up the clientOpacity(...) function up as well now. Again, alternative fixes would be to forward declare the functions.