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.
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.