mirror of
https://codeberg.org/scip/swayipc.git
synced 2025-12-16 20:20:56 +01:00
implemented more stuff along with samples
This commit is contained in:
2
net.go
2
net.go
@@ -64,8 +64,6 @@ func (ipc *I3ipc) readResponse() ([]byte, error) {
|
||||
return nil, fmt.Errorf("failed to read header from ipc socket: %s", err)
|
||||
}
|
||||
|
||||
// slog.Debug("got IPC header", "header", hex.EncodeToString(buf))
|
||||
|
||||
if string(buf[:6]) != IPC_MAGIC {
|
||||
return nil, fmt.Errorf("got invalid response from IPC socket")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user