Counterpart to kwin!2088 (merged)
Ultimately we might want this in more places, but lets start small and build up.