diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-08 19:48:04 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-08 20:02:09 +0900 |
| commit | e5baaf416f1404a4a9ae8581603524d868716325 (patch) | |
| tree | 944ef5ffc3c1a094a6ba21ff075a26e16618cd76 /internal/app/spx11.go | |
| parent | ee6c471fe6e183d78e396a23b2a92fd26bb31143 (diff) | |
internal/app: check transmitted ops
This simulates params to shim and this is the last step before params to shim is merged.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/spx11.go')
| -rw-r--r-- | internal/app/spx11.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/app/spx11.go b/internal/app/spx11.go index 18890fd8..ba7a768a 100644 --- a/internal/app/spx11.go +++ b/internal/app/spx11.go @@ -1,6 +1,7 @@ package app import ( + "encoding/gob" "errors" "fmt" "io/fs" @@ -15,6 +16,8 @@ import ( var absX11SocketDir = fhs.AbsTmp.Append(".X11-unix") +func init() { gob.Register(new(spX11Op)) } + // spX11Op exports the X11 display server to the container. type spX11Op struct { // Value of $DISPLAY, stored during toSystem |
