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

LinuxCaptureWindow rewrite #63

Closed angrylinuxuser closed 8 years ago

angrylinuxuser commented 8 years ago

Hey, i wanted to clean up things in linuxwindowcapture and i ended up rewriting the whole thing. Now it's based on xcb rather then xlib and requires window manager supporting icccm standard ( which according to this: https://en.wikipedia.org/wiki/Comparison_of_X_window_managers means that all except some obscure wm will support it ). A nice bonus of a rewrite is a small performance boost ( on my system searching for a window on release build takes ~4ms vs average ~7ms with the old code when HS isnt running ).

I've also added change of update interval based on HS state ( started/stopped ) which i'll try to send upstream.

Good luck testing and reviewing :)

PS rank detection didnt work for me before this and it doesnt work now. Im trying to figure out whats going on.

angrylinuxuser commented 8 years ago

crap gona have to figure out travis now

angrylinuxuser commented 8 years ago

Fixed rank detection

BOSSoNe0013 commented 8 years ago

Good job, thanks :)

angrylinuxuser commented 8 years ago

You're welcome :)