mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-17 07:56:11 +01:00
added st source
This commit is contained in:
14
dwm/.st/patch/sixel_x.c
Normal file
14
dwm/.st/patch/sixel_x.c
Normal file
@@ -0,0 +1,14 @@
|
||||
void
|
||||
delete_image(ImageList *im)
|
||||
{
|
||||
if (im->prev)
|
||||
im->prev->next = im->next;
|
||||
else
|
||||
term.images = im->next;
|
||||
if (im->next)
|
||||
im->next->prev = im->prev;
|
||||
if (im->pixmap)
|
||||
XFreePixmap(xw.dpy, (Drawable)im->pixmap);
|
||||
free(im->pixels);
|
||||
free(im);
|
||||
}
|
||||
Reference in New Issue
Block a user