workspace: use weak pointer for current pane.