Draggable window is dependent on 3 core parts.
Draggable area. Where user can click and drag the window.
Resizable area. Where user can click and drag to resize the window.
Content area. Where user can add the child widget that represents the content. In below example, it is the terminal.
Scroll or pinch to zoom · drag to pan · Esc to close