The game you're thinking of is called Desktop Destroyer, also known as Stress Reducer Desktop Destroyer.
It's a fun little stress-reliever where you smash up a virtual desktop. You can find it by searching Google, which will lead you to a stress-management website offering the game as a free download.