mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 15:04:13 +01:00
Fix reversed clipboard roles in dactyl.clipboardRead.
This commit is contained in:
@@ -249,7 +249,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
transferable.addDataFlavor("text/unicode");
|
||||
|
||||
let source = clipboard[getClipboard || !clipboard.supportsSelectionClipboard() ?
|
||||
"kSelectionClipboard" : "kGlobalClipboard"];
|
||||
"kGlobalClipboard" : "kSelectionClipboard"];
|
||||
clipboard.getData(transferable, source);
|
||||
|
||||
let str = {}, len = {};
|
||||
|
||||
Reference in New Issue
Block a user