mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-04 06:43:14 +02:00
safari: works! (it lists tabs/by-title, at least)
Safari keeps stealing focus bc of how I do messaging to it now, need to fix all that next
This commit is contained in:
parent
6f743114da
commit
930352dd42
Binary file not shown.
|
@ -38,6 +38,7 @@ class TabFSService: NSObject, TabFSServiceProtocol {
|
||||||
while true {
|
while true {
|
||||||
// read from them
|
// read from them
|
||||||
let length = self.fsOutput.readData(ofLength: 4).withUnsafeBytes { $0.load(as: UInt32.self) }
|
let length = self.fsOutput.readData(ofLength: 4).withUnsafeBytes { $0.load(as: UInt32.self) }
|
||||||
|
os_log(.default, "TabFSmsg tfs service: read %{public}d", length)
|
||||||
let req = self.fsOutput.readData(ofLength: Int(length))
|
let req = self.fsOutput.readData(ofLength: Int(length))
|
||||||
// send to other side of XPC conn
|
// send to other side of XPC conn
|
||||||
app.request(req)
|
app.request(req)
|
||||||
|
|
Loading…
Reference in a new issue