I have switched my SFML window to fullscreen mode (desktop resolution). If, for example, I switch application (Alt-Tab), my application is still visible in the background, but the window of the new application overlays it and is usable. Now instead of switching away, I want to switch to a gkt2 window (gtk native file dialog) from my SFML application. The gtk2 window is properly displayed and I can use the keyboard to interact with it, however, it does not see any mouse events. This make a file selection dialog quite unusable. The most obvious solution is to switch back to windowed mode, but this seem a lot of code for not real purpose. Instead, I would prefer to have an option to "suspend" fullscreen mode properly, either (like in the alt-tab case) with my application still in the background or by minimizing my application until the modal gtk2 dialog has finished. I tried to use setVisible(false), but the only difference is that now the task-bar overlaps the SFML application graphics in the background - but there is still no mouse event passed through to the gtk2 dialog window.
I read in the docs, that in fullscreen the mouse is always grabbed. I assume that this is what interferes here. So if there is no way to minimize a fullscreen window (setVisible(false)), maybe there could be a way to suspend mouse grabbing in fullscreen mode. Using setMouseCursorGrabbed(false) obviously won't work, because it is ignored in fullscreen mode.