Kinda like music players, when not the active window you can hover your mouse on to the osu!'s icon on the taskbar and control the music with prev-pause/play-next without going in to osu! itself.
From this to something like this
From this to something like this