mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-04 05:56:31 +01:00
--class was accepted and ignored on macOS, so the scenarios that match a window by a class could not run. The test window now sets its accessibility subrole to the class (NSWindow setAccessibilitySubrole), and the host passes the app id of spawn as --class.
46 lines
1.0 KiB
TOML
46 lines
1.0 KiB
TOML
[package]
|
|
name = "komorebi-testwin"
|
|
version.workspace = true
|
|
edition = "2024"
|
|
description = "A plain window for the e2e suite to tile, with a control channel"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
serde_json = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = { version = "0.6", default-features = false, features = ["std"] }
|
|
objc2-app-kit = { version = "0.3", default-features = false, features = [
|
|
"std",
|
|
"NSApplication",
|
|
"NSWindow",
|
|
"NSView",
|
|
"NSColor",
|
|
"NSResponder",
|
|
"NSScreen",
|
|
"NSGraphics",
|
|
"NSEvent",
|
|
"NSAccessibility",
|
|
"NSAccessibilityConstants",
|
|
"NSAccessibilityProtocols",
|
|
"NSRunningApplication",
|
|
"objc2-core-foundation",
|
|
"libc",
|
|
] }
|
|
objc2-core-foundation = { version = "0.3", default-features = false, features = [
|
|
"std",
|
|
"CFCGTypes",
|
|
] }
|
|
objc2-foundation = { version = "0.3", default-features = false, features = [
|
|
"std",
|
|
"NSString",
|
|
"NSGeometry",
|
|
"NSArray",
|
|
"NSDate",
|
|
"NSRunLoop",
|
|
"NSEnumerator",
|
|
] }
|