mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-31 01:47:24 +02:00
muxed interactions with xserver, fix for #28?
This commit is contained in:
parent
3fc7737442
commit
2680a1f702
8 changed files with 71 additions and 63 deletions
|
@ -1,7 +1,7 @@
|
|||
package websocket
|
||||
|
||||
import (
|
||||
"n.eko.moe/neko/internal/clip"
|
||||
"n.eko.moe/neko/internal/hid"
|
||||
"n.eko.moe/neko/internal/types"
|
||||
"n.eko.moe/neko/internal/types/event"
|
||||
"n.eko.moe/neko/internal/types/message"
|
||||
|
@ -113,6 +113,6 @@ func (h *MessageHandler) controlClipboard(id string, session types.Session, payl
|
|||
return nil
|
||||
}
|
||||
|
||||
clip.Write(payload.Text)
|
||||
hid.WriteClipboard(payload.Text)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue