you want to keep the window and plane separate? then you can try first intersect suface and then trim tool.