What did I just do with the trackpad to make my window take up half the desktop? I was just clicking with the trackpad - I wasn't doing anything else, and my fingers moved a little and somehow my Google Chrome window took up the left half of the screen.

What did I do here?
Grab the maximize button of the window and drag it to one side of the screen.