There's no way to do so, a sf::Input provides the input states of a particular window, not the global ones.
It's not just different technically, it's two different things: window inputs only reflect what happens when the window has the focus, while global inputs reflect the global mouse/keyboard states.