Well it depends on the program you are using but programs that follow a document-style layout usually allow you to close a document without quitting the program (in the File menu or Ctrl-W).
The big 'X' will always quit the program though as that's what the user would expect. Imagine Chrome/Firefox's big 'X' only closing the current tab (is that how it works on a Mac?).
The big 'X' will always quit the program though as that's what the user would expect. Imagine Chrome/Firefox's big 'X' only closing the current tab (is that how it works on a Mac?).