marcof-nikogo / wf-external-decoration

A wayfire decoration plugin that uses a external executable
MIT License
8 stars 1 forks source link

Fix reading font from configuration file #7

Closed lukefromdc closed 8 months ago

lukefromdc commented 8 months ago

cppcheck found this, and it fixes a failure to apply the font asked for in the configuration json file In at least some build environments, shadowing the outer variable declaration causes the new value to be discarded it seems. In this case, it causes the font selected by the user to be ignored.

lukefromdc commented 8 months ago

Fixes https://github.com/marcof-nikogo/wf-external-decoration/issues/5

lukefromdc commented 8 months ago

button blurriness is probably the usual scaling issue with GtkPixBuf, will look at that too

marcof-nikogo commented 8 months ago

It's strange that the compiler didn't complain about this... Anyway, thanks!