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

correction in order of arguments for XGetGeometry(...) #32

Closed cauon closed 8 years ago

cauon commented 8 years ago

I had the issue that the rank detection was not working correctly for me. To fix that, arguments for width and height have to be swapped for the function call to XGetGeometry. This complies to the Xlib reference page for this function: https://tronche.com/gui/x/xlib/window-information/XGetGeometry.html