How do I know if a user is in Exposé mode?

Is there any way to find out if the user is in Exposé mode? (i.e. all windows are displayed.) Thank you.

+3
source share
2 answers

There is no public API to retrieve this information. What problem are you trying to solve?

+1
source

You do not need this information. If the user is not in Exposé, F11 (or fn-F11) will enter Exposé. If the user is already in Exposé, F11 (or fn-F11) will exit Exposé. So just send F11 (or fn-F11) unconditionally.

. Apple Wireless Keyboard fn, , , F11. , .

Exposé - .

0

Source: https://habr.com/ru/post/1723870/


All Articles