Mercurial > hg > xemacs-beta
diff src/balloon-x.c @ 219:262b8bb4a523 r20-4b8
Import from CVS: tag r20-4b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:09:35 +0200 |
parents | 15872534500d |
children | c5d627a313b1 |
line wrap: on
line diff
--- a/src/balloon-x.c Mon Aug 13 10:08:36 2007 +0200 +++ b/src/balloon-x.c Mon Aug 13 10:09:35 2007 +0200 @@ -34,7 +34,7 @@ static unsigned long alloc_color (Display* dpy, CONST char* colorname, int light) { - Colormap cmap = DefaultColormap (dpy, DefaultScreen(dpy)); + Colormap cmap = DEVICE_X_COLORMAP (XDEVICE(Vdefault_x_device)); unsigned long pixel = 0; XColor color;