X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=jwxyz%2Fjwxyz-common.c;h=a40909948eda0067f5e912e572c02bec929eab0f;hp=a168bda299a258883cd246752459ef9b9cdbdfcc;hb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c;hpb=aa75c7476aeaa84cf3abc192b376a8b03c325213 diff --git a/jwxyz/jwxyz-common.c b/jwxyz/jwxyz-common.c index a168bda2..a4090994 100644 --- a/jwxyz/jwxyz-common.c +++ b/jwxyz/jwxyz-common.c @@ -29,6 +29,17 @@ #define assert_window(dpy, w) \ Assert (w == RootWindow (dpy, 0), "not a window") + +void +Log (const char *fmt, ...) +{ + va_list args; + va_start (args, fmt); + Logv (fmt, args); + va_end (args); +} + + int XDisplayWidth (Display *dpy, int screen) {