Start clipboard program with current clipboard contents copied

osx
Hammy 3 years ago
parent 412187e8db
commit e7c8315442

@ -39,7 +39,8 @@ public class ClipboardListener extends Thread implements ClipboardOwner {
} }
public void run() { public void run() {
Transferable transferable = clipboard.getContents(this); Transferable transferable = clipboard.getContents(currentThread());
processContents(transferable);
regainOwnership(clipboard, transferable); regainOwnership(clipboard, transferable);
} }

Loading…
Cancel
Save