From 380d1f45851b7dffb963c51da96a17ba41f3cfb8 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Sun, 20 Oct 2024 22:54:47 +0900 Subject: app: move wayland mediation to shim package Values used in the Wayland mediation implementation is stored in various struct fields strewn across multiple app structs and checks are messy and confusing. This commit unifies them into a single struct and access it using much better looking methods. Signed-off-by: Ophestra Umiker --- internal/app/app.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'internal/app/app.go') diff --git a/internal/app/app.go b/internal/app/app.go index 4c3a60c3..5c5e3452 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -1,7 +1,6 @@ package app import ( - "net" "os/exec" "sync" ) @@ -27,9 +26,6 @@ type app struct { cmd *exec.Cmd // child process related information seal *appSeal - - // wayland connection if wayland mediation is enabled - wayland *net.UnixConn // error returned waiting for process waitErr error -- cgit v1.3.1