Fix stream not closing properly when exiting app

This commit is contained in:
loki 2020-04-16 15:35:12 +02:00
commit c7d6e959e0
3 changed files with 6 additions and 3 deletions

View file

@ -160,7 +160,7 @@ struct x11_attr_t : public display_t {
if(width != xattr.width || height != xattr.height) {
return capture_e::reinit;
}
XImage *img { XGetImage(
xdisplay.get(),
xwindow,