Mercurial > audlegacy-plugins
diff src/aosd/ghosd-internal.h @ 889:13cdd6999598 trunk
[svn] - aosd: fixed ugly memleak in ghosd sources
author | giacomo |
---|---|
date | Wed, 21 Mar 2007 11:19:49 -0700 |
parents | 6584e697e6da |
children | 16e51fb5908e |
line wrap: on
line diff
--- a/src/aosd/ghosd-internal.h Wed Mar 21 07:36:32 2007 -0700 +++ b/src/aosd/ghosd-internal.h Wed Mar 21 11:19:49 2007 -0700 @@ -20,13 +20,18 @@ void *data; } EventButtonCallback; +typedef struct { + Pixmap pixmap; + int set; +} GhosdBackground; + struct _Ghosd { Display *dpy; Window win; int transparent; int x, y, width, height; - - Pixmap background; + + GhosdBackground background; RenderCallback render; EventButtonCallback eventbutton; };