void
xsetsel(char *str) {
- /* register the selection for both the clipboard and the primary */
- Atom clipboard;
-
free(sel.clip);
sel.clip = str;
-
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, CurrentTime);
-
- clipboard = XInternAtom(xw.dpy, "CLIPBOARD", 0);
- XSetSelectionOwner(xw.dpy, clipboard, xw.win, CurrentTime);
}
void
break;
/* We got a default font for a not found glyph. */
if(!charexists && frc[i].flags == frcflags \
- && unicodep == unicodep) {
+ && frc[i].unicodep == unicodep) {
break;
}
}
FcConfigSubstitute(0, fcpattern,
FcMatchPattern);
- FcPatternPrint(fcpattern);
FcDefaultSubstitute(fcpattern);
fontpattern = FcFontSetMatch(0, fcsets, 1,