From dc6d90efbe46773a3e998652d39fdb881bf0b36b Mon Sep 17 00:00:00 2001 From: Andrew Bikle <487735+AngleOSaxon@users.noreply.github.com> Date: Tue, 24 Dec 2024 11:49:49 -0500 Subject: [PATCH] Prevent finding PID of xochitl_pdf_renderer when seeking framebuffer --- internal/remarkable/findpid.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/remarkable/findpid.go b/internal/remarkable/findpid.go index c4bd2c8..d96f57c 100644 --- a/internal/remarkable/findpid.go +++ b/internal/remarkable/findpid.go @@ -4,7 +4,6 @@ import ( "log" "os" "path/filepath" - "strings" ) func findXochitlPID() string { @@ -33,7 +32,7 @@ func findXochitlPID() string { if err != nil { continue } - if strings.Contains(orig, "/usr/bin/xochitl") { + if orig == "/usr/bin/xochitl" { return pid } }