]> git.zerfleddert.de Git - proxmark3-svn/commit - client/util_darwin.m
osx: fix annoying focus behaviour (#689)
authorAntiCat <contiki@anticat.ch>
Mon, 8 Oct 2018 05:20:21 +0000 (07:20 +0200)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Mon, 8 Oct 2018 05:20:21 +0000 (07:20 +0200)
commitb742ab8cc3fa259990551f2d4265c09681ba705f
tree0a80ef1abc749cee8599e04c1043e56ccdfe95e9
parent2a537311063d3e49479ff4cc8b94287a10c37266
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.
client/Makefile
client/proxguiqt.cpp
client/util_darwin.h
client/util_darwin.m
Impressum, Datenschutz