[argyllcms] Re: yet another X errror under AMD64
- From: Mickael Profeta <profeta@xxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Tue, 15 Aug 2006 12:02:02 +0200
Joshua Hoblitt wrote:
> $ dispcal foo.cal
> X Error of failed request: BadValue (integer parameter out of range for
> operation)
> Major opcode of failed request: 18 (X_ChangeProperty)
> Value in failed request: 0x40
> Serial number of failed request: 15
> Current serial number in output stream: 17
>
> This is on running on an amd64 system:
>
Your problem seems to be identical to mine, it is a 64bits issue.
Try to change the line in spectro/dispwin.c (you should find it easily
around line 1590)
/* Set aditional properties */
{
unsigned int xid = (unsigned int)rootwindow; /* Hope
this is 32 bit */
XChangeProperty(
p->mydisplay, p->mywindow,
XA_WM_TRANSIENT_FOR, /* Property */
XA_WINDOW, /* Type */
32, /* format = bits in type
of unsigned int */
PropModeReplace, /* Change mode */
(char *)(&xid), /* Data is Root Window
XID */
1 /* Number of elements of
data */
);
}
(see previous thread on "X error under AMD64 arch" and Graeme answer.)
Mike
- References:
- [argyllcms] yet another X errror under AMD64
- From: Joshua Hoblitt
Other related posts:
- » [argyllcms] yet another X errror under AMD64
- » [argyllcms] Re: yet another X errror under AMD64
- » [argyllcms] Re: yet another X errror under AMD64
- [argyllcms] yet another X errror under AMD64
- From: Joshua Hoblitt