1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Fix misc bugs.

This commit is contained in:
id
1999-05-16 02:22:42 +00:00
parent 7f6c4d1a73
commit 7a1de9dad9
2 changed files with 2 additions and 2 deletions

View File

@@ -281,7 +281,7 @@ getInternalSelection(WMScreen *scr, Atom selection, Atom target,
* do the conversion directly. * do the conversion directly.
*/ */
data = NULL; *data = NULL;
owner = XGetSelectionOwner(scr->display, selection); owner = XGetSelectionOwner(scr->display, selection);
if (!owner) if (!owner)

View File

@@ -214,7 +214,7 @@ requestHandler(WMWidget *w, Atom selection, Atom target, Atom *type,
ptr[0] = _TARGETS; ptr[0] = _TARGETS;
ptr[1] = XA_STRING; ptr[1] = XA_STRING;
ptr[2] = XInternAtom(dpy, "TEXT", False); ptr[2] = XInternAtom(dpy, "TEXT", False);
ptr[4] = XInternAtom(dpy, "COMPOUND_TEXT", False); ptr[3] = XInternAtom(dpy, "COMPOUND_TEXT", False);
*type = target; *type = target;
return True; return True;
} }