mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
osx: fix annoying focus behaviour (#689)
OS X has a global menu bar and a per app dock icon. Therefore, all GUI applications launched from a terminal will become focused - even if they don’t show any windows. Thereby the terminal loses focus. Since is it very annoying to re-focus the terminal after each proxmark client launch, this change makes the client unfocusable during launch and restores the regular behaviour when a window is created.
This commit is contained in:
parent
2a53731106
commit
b742ab8cc3
4 changed files with 33 additions and 1 deletions
|
@ -14,4 +14,7 @@
|
|||
void disableAppNap(const char* reason);
|
||||
void enableAppNap();
|
||||
|
||||
void makeUnfocusable();
|
||||
void makeFocusable();
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue