Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--macos-native-* flags are broken in list-windows command #231

Closed
nikitabobko opened this issue May 19, 2024 · 1 comment
Closed

--macos-native-* flags are broken in list-windows command #231

nikitabobko opened this issue May 19, 2024 · 1 comment

Comments

@nikitabobko
Copy link
Owner

nikitabobko commented May 19, 2024

  • aerospace list-windows --macos-native-minimized always prints nothing (even if there are minimized windows are presented)
  • aerospace list-windows --macos-native-hidden-app always prints nothing (even if there are hidden apps are presented)
  • aerospace list-windows --macos-native-fullscreen works though (because fullscreen windows are part of the tiling tree)

The reason why --macos-native-minimized and --macos-native-hidden-app flags are broken is because minimized and hidden windows are not part of the tiling tree

@nikitabobko
Copy link
Owner Author

nikitabobko commented May 19, 2024

Since I don't have the design for these flags ready, I will delete these flags in the next release for now

The design problem is that all flags in list-windows always narrow down the scope, but to make --macos-native-* flags work, I have to widen the scope

The"scope" is represented as a tree:

monitors
  monitor1
    workspace1-on-monitor1
    workspace2-on-monitor1
  monitor2
    workspace1-on-monitor2
    workspace2-on-monitor2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant