190 |
|
/* set window manager hints */ |
191 |
|
ourxwmhints.flags = InputHint|IconPixmapHint; |
192 |
|
ourxwmhints.input = True; |
193 |
< |
ourxwmhints.icon_pixmap = XCreateBitmapFromData(ourdisplay, |
194 |
< |
gwind, x11icon_bits, x11icon_width, x11icon_height); |
193 |
> |
ourxwmhints.icon_pixmap = XCreateBitmapFromData(ourdisplay, gwind, |
194 |
> |
(char *)x11icon_bits, x11icon_width, x11icon_height); |
195 |
|
XSetWMHints(ourdisplay, gwind, &ourxwmhints); |
196 |
|
oursizhints.min_width = MINWIDTH; |
197 |
|
oursizhints.min_height = MINHEIGHT; |
295 |
|
|
296 |
|
extern void |
297 |
|
dev_section( /* add octree for geometry rendering */ |
298 |
< |
char *ofn |
298 |
> |
char *gfn, |
299 |
> |
char *pfn |
300 |
|
) |
301 |
|
{ |
302 |
|
/* unimplemented */ |
652 |
|
midy = (starty + endy) >> 1; |
653 |
|
/* set focus distance */ |
654 |
|
if ((li = qtFindLeaf(midx, midy)) < 0) |
655 |
< |
return(0); /* not on window */ |
655 |
> |
return; /* not on window */ |
656 |
|
VCOPY(v1, qtL.wp[li]); |
657 |
|
odev.v.vdist = sqrt(dist2(odev.v.vp, v1)); |
658 |
|
/* set frame for rendering */ |