rem: if (status != RRSetConfigSuccess) return -1;  return (int) xr_current_size;
context: bacon_resize (int height, int width){	XRRScreenConfiguration *xr_screen_conf;	XRRScreenSize *xr_sizes;	SizeID xr_current_size;	int xr_nsize, i;	Rotation xr_rotations;	Rotation xr_current_rotation;	int target = -1;	Status status;	if (height == 0 || width == 0)		return -1;	/* Getting the current info */	XLockDisplay (GDK_DISPLAY());	xr_screen_conf = XRRGetScreenInfo		(GDK_DISPLAY(), GDK_ROOT_WINDOW());	xr_current_size = XRRConfigCurrentConfiguration		(xr_screen_conf, &xr_current_rotation);	xr_sizes = XRRConfigSizes (xr_screen_conf, &xr_nsize);	xr_rotations = XRRConfigRotations (xr_screen_conf,			&xr_current_rotation);	XUnlockDisplay (GDK_DISPLAY());	for (i = 0; i < xr_nsize; i++)	{		if (height > xr_sizes[i].height && width > xr_sizes[i].width)			break;		if (height < xr_sizes[i].height && width < xr_sizes[i].width)			target = i;	}	if (target == -1)		return -1;	XLockDisplay (GDK_DISPLAY());	status = XRRSetScreenConfig (GDK_DISPLAY(),			xr_screen_conf,			GDK_ROOT_WINDOW(),			(SizeID)target,			xr_current_rotation,			CurrentTime);	XUnlockDisplay (GDK_DISPLAY());	if (status != RRSetConfigSuccess)		return -1;	return (int) xr_current_size;}