mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Fix misc bugs.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user