printf("RESIZE...%p(%d, %d)\n", w, width, height);
PRINTF("RESIZE...%p(%d, %d)\n", w, width, height);
static void resize_callback( Widget    w, 														 XtPointer data, 														 XEvent    *xevent, 														 Boolean   *toContinue ){	static int x = 0, y = 0, width = 0, height = 0, changed = 0;	if ( xevent->type == ConfigureNotify )	{		XConfigureEvent	    &xconfigure = xevent->xconfigure;		XResizeRequestEvent	&xresize = xevent->xresizerequest;  	nsIWebShell					*webshell = ( nsIWebShell* )data;				if ( xevent->type == ConfigureNotify )		{			//x = x != xconfigure.x ? changed = 1, xconfigure.x : x;			//y = y != xconfigure.y ? changed = 1, xconfigure.y : y;			width  = width != xconfigure.width ? changed = 1, xconfigure.width : width;			height = height != xconfigure.height ? changed = 1, xconfigure.height : height;		}		else		{			//x = x != xresize.x ? changed = 1, xresize.x : x;			//y = y != xresize.y ? changed = 1, xresize.y : y;			width  = width != xresize.width ? changed = 1, xresize.width : width;			height = height != xresize.height ? changed = 1, xresize.height : height;		}				if ( changed )		{			printf("RESIZE...%p(%d, %d)\n", w, width, height);			webshell->SetBounds( 0, 0, width, height );   changed = 0;		}  		}		//*toContinue = False;}