]> git.eshelyaron.com Git - emacs.git/commit
Fix crash when using XRender and restoring image from X (bug#44930)
authorAlan Third <alan@idiocy.org>
Sat, 5 Dec 2020 19:40:08 +0000 (19:40 +0000)
committerAlan Third <alan@idiocy.org>
Sat, 12 Dec 2020 10:30:39 +0000 (10:30 +0000)
commit62a6934af9c110c28fc1f69f4bb1b79ce9d0c43d
treecaf81eb7b88cd154cf0d203beced8b4879f955e5
parentde032d41c6c9dc143a5d2ddcacdccd20567aee8c
Fix crash when using XRender and restoring image from X (bug#44930)

* src/dispextern.h (struct image): Add original dimension elements.
* src/image.c (image_set_transform): Store the original dimensions.
(image_get_x_image): If we're using transforms use the original
dimensions with XGetImage.
src/dispextern.h
src/image.c