If you prefer playing in 640x480, use alt+enter to switch it to windowed mode whenever you want to do something on the desktop -- then use alt+tab to release your mouse from the window (or bind a key to "in_mouse 0" and when you're ready to play again hit a key bound to "in_mouse 1"). If a higher resolution works for you, just do what ViciouZ said.