But if you're trying to close a window that you didn't want to open, you probably want the red button not the yellow one.
If what you're trying to do is move a page from its own window to another window, you can drag its tab. But that's not possible if you have "Show tab bar" disabled in the view menu, the tab bar will be hidden for windows with a single tab.
Alternate workaround if you find yourself accidentally opening things in a new window by accident frequently: instead of right clicking and picking from the menu, command-click on the link to open it in a new tab. If you have a 3-button mouse, middle click will do this as well.
Hold cmd and keep hitting tab if you need to cycle through multiple things, but if you've just done it the hidden app should be the first one.
If you tap the command quickly it should happen immediately without even bringing up the app switcher, and if you hold cmd and tab through the app switcher it does the same thing when you let go:
Video recorded on Big Sur beta, but I'm sure this behavior isn't new.
Doesn't handle multiple windows gracefully (if the app has another window not minimized it won't do anything, just switch to that window as normal). But if you have an app with a single window and you've minimized it, this will pop it back up.
Alternatively, you can access the whole dock directly with a keyboard shortcut using ctrl-F3 (add Fn if needed depending on your keyboard setup).
bingo! thanks! :)
I don't love this either, it's my biggest complaint about iPad's multitasking system.
I still have the “open in new window” item there when I long-press a link. It now does absolutely nothing if I hit it by accident. Which feels inelegant but is a lot better than “oh fuck I just made another goddamn new window when I wanted a new tab”.