IMO this should be a feature of the window-manager, not the application. But that requires a change in the interface between window-managers and applications, to allow the window-managers to be more heavy-handed. Which I've wanted for a very long time.