BOSSoNe0013 / track-o-bot

The friendly Hearthstone Tracker (Linux port)
https://trackobot.com
GNU Lesser General Public License v2.1
39 stars 6 forks source link

FindWindow: WM_CLASS compare case insensitive #97

Closed Krnlsoft closed 6 years ago

Krnlsoft commented 6 years ago

Hi, i had to change the comparison to case insensitive because my VM_CLASS was "hearthstone.exe" like shown below:

xprop | grep -i class WM_CLASS(STRING) = "hearthstone.exe", "Wine"

The case insensitive check on the instance_name it's not necessary, but who knows...

Please let me know. Thanks for your time. Best regards. Karl

BOSSoNe0013 commented 6 years ago

THank you for the PR ! Have a nice day :)