Open swenak opened 4 months ago
@swenak
Interesting idea. Raise/focus only just after an application lost focus. I'm not sure if there is an OS event for this. This requires some investigation.
Related: #199
Maybe only after that buttons are pressed (if exist event for this), or only when mouse button press was on specified rectangle with that buttons in window.
@swenak
It seems there is a deactivated notification. However this is only called when AutoRaise (or the user) activates another window. Ideally, when minimizing a window, we also get the notification, but that is not happening. A quick look over the Apple APIs doesn't reveal notifications for app minimization. Individual applications can detect minimimization with the applicationDidChangeOcclusionState event, but this is not usable for AutoRaise.
So, maybe other solution, based on window numbers? Something like this: https://developer.apple.com/documentation/appkit/nswindow/1419210-windownumber
Hi,
what about to add option to autoraise only after customer press minimize/close button on most front window like in MS Windows systems?
Thanks.