mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Rename to safe-clipboard
...and use remote only on Linux renderer processes.
This commit is contained in:
@@ -256,7 +256,7 @@ class AtomApplication
|
||||
|
||||
clipboard = null
|
||||
ipc.on 'write-text-to-selection-clipboard', (event, selectedText) ->
|
||||
clipboard ?= require '../native-clipboard'
|
||||
clipboard ?= require '../safe-clipboard'
|
||||
clipboard.writeText(selectedText, 'selection')
|
||||
|
||||
# Public: Executes the given command.
|
||||
|
||||
Reference in New Issue
Block a user