@DTS Engineer @DTS Engineer @Frameworks Engineer
Oh, thanks for your effort!
That's the same as I already know. I've brought up a feedback FB18862047 (Can't tell if there is any window in fullscreen mode using ApplicationServices Constants and AXUIElement).
But I haven't get any reply yet.
@DTS Engineer @DTS Engineer
Yes. But how do I get window.styleMask.contains(.fullScreen) from them, doesn't that just work with NSWindow?
If it's possible, could you please provide the relevant code from CGWindowListCopyWindowInfo to fetch the results' styleMask
Thank you very much!
@DTS Engineer @DTS Engineer
The mapping of CGWindowID ↔︎ NSWindow seems to only work within the my app's process?
I want to check all windows including my app owns and from other applications.
Hi,
If the window size is equal to the screen size, you can't tell that you are in full-screen mode, especially if the menu bar is set to 'auto-hide' or the device is a MacBook with notch.
Am I right?
@DTS Engineer @DTS Engineer @Frameworks Engineer
Oh, thanks for your effort!
That's the same as I already know. I've brought up a feedback FB18862047 (Can't tell if there is any window in fullscreen mode using ApplicationServices Constants and AXUIElement).
But I haven't get any reply yet.
@DTS Engineer @DTS Engineer
Yes. But how do I get window.styleMask.contains(.fullScreen) from them, doesn't that just work with NSWindow?
If it's possible, could you please provide the relevant code from CGWindowListCopyWindowInfo to fetch the results' styleMask
Thank you very much!
@DTS Engineer @DTS Engineer
The mapping of CGWindowID ↔︎ NSWindow seems to only work within the my app's process?
I want to check all windows including my app owns and from other applications.
Hi,
If the window size is equal to the screen size, you can't tell that you are in full-screen mode, especially if the menu bar is set to 'auto-hide' or the device is a MacBook with notch.
Am I right?