I have managed to create an area to snap to in both apps but when I let go of the window, it doesn't snap.