Ctrl+Z in Viewport triggers compositor
&#9096; CtrlZ is the shortcut for undo, if you have global undo enabled in preferences (which is enabled by default) then the undo stack can contain steps from multiple windows, this means that undo may change the node editor if you made a change there before going to the 3dview and doing undo.