Often times I will try to quit (for example) Slack, but accidentally quit Safari, and thus lose the arrangement of my millions of Safari windows. (This can happen if Safari is the top-most app, but without any visible windows. If I don't look in the upper left-hand corner and actually read the app name, it may appear that Slack is selected because its window is visible on top.)
Since Apple only sees fit to restore windows to the proper desktop when you start up your Mac with windows being automatically opened, and otherwise opens them all in the same desktop (which is a horrible UX oversight!), I really really really want to avoid accidentally quitting Safari (or any other browser). How can I easily prevent this from happening?
Manually customizing the keystrokes is a last resort, being kind of kludgey.