mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 00:50:34 +02:00
Fix misc bugs.
This commit is contained in:
1 parent
7f6c4d1a73
commit
7a1de9dad9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -281,7 +281,7 @@ getInternalSelection(WMScreen *scr, Atom selection, Atom target,
|
||||
* do the conversion directly.
|
||||
*/
|
||||
|
||||
data = NULL;
|
||||
*data = NULL;
|
||||
|
||||
owner = XGetSelectionOwner(scr->display, selection);
|
||||
if (!owner)
|
||||
|
||||
+1
-1
@@ -214,7 +214,7 @@ requestHandler(WMWidget *w, Atom selection, Atom target, Atom *type,
|
||||
ptr[0] = _TARGETS;
|
||||
ptr[1] = XA_STRING;
|
||||
ptr[2] = XInternAtom(dpy, "TEXT", False);
|
||||
ptr[4] = XInternAtom(dpy, "COMPOUND_TEXT", False);
|
||||
ptr[3] = XInternAtom(dpy, "COMPOUND_TEXT", False);
|
||||
*type = target;
|
||||
return True;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user