anybody tried to make test in ups-3.37-beta2/lib/libx11wn ?

From: John Utz (john_at_utzweb.net)
Date: Wed Oct 10 2001 - 23:58:09 BST


it's not good. :-)

may repeated instances of

./testwn.c:1411: `WHITE' undeclared (first use in this function)
./testwn.c:1415: `WN_BG' undeclared (first use in this function)
./testwn.c:1512: `WN_FG' undeclared (first use in this function)

what the heck are these?

oh wait, grepping about gets you:

wn_color.c:/*  The old names for WN_FG and WN_BG in wn were BLACK and
WHITE.

that leads to visiting wm.h

if WANT_MULTI_SCREEN
#define WN_MY_PIXEL     0x80000000
#define WN_FG(wn)       (0 | WN_MY_PIXEL)
#define WN_BG(wn)       (1 | WN_MY_PIXEL)
#else
#define WN_FG(wn)       wn_fg_pixel(wn)
#define WN_BG(wn)       wn_bg_pixel(wn)
#endif


these macros take *arguments*! help?

tnx!

johnu

-- 

John L. Utz III
john_at_utzweb.net

Idiocy is the Impulse Function in the Convolution of Life


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:34 GMT