hey - I’m trying to reproduce the mac app behavior...
# compose-desktop
s
hey - I’m trying to reproduce the mac app behavior that an app stays open after it’s windows are closed, and then when you click on the app icon again, it opens the window back up. I’m pretty sure I can keep the process alive after the window is closed, but how do I get the event that the app icon was clicked so I know when to open the window back up?
s
Thanks, I ended up finding what I needed in
Desktop.getDesktop().addAppEventListener
. I can give it an instance of
AppReopenedListener
which gave me what I needed.
1