Can you make programs Quit by clicking the X

Discussion in 'macOS' started by c073186, Feb 19, 2008.

  1. c073186 macrumors 6502a

    Nov 2, 2007
    I have noticed that by default, certain applications (Calculator, System Preferences (not an application but still) will actually quit when you click the X in the upper left. Others, like Safari, do not quit, they just close that window. Is that a setting that can be changed? So that I could hit the X on, say, Quicktime or Mail and it would actually quit?
  2. edesignuk Moderator emeritus


    Mar 25, 2002
    London, England
  3. davidjearly macrumors 68020


    Sep 21, 2006
    Glasgow, Scotland
    Afraid not. This is actually a feature of OS X.
  4. TheSpaz macrumors 604


    Jun 20, 2005
    They're called "Applications"... PC users use the word "Programs"... just pointing that out.
  5. iCeFuSiOn macrumors 6502a

    Jul 18, 2007
    When you click on the close button in Mac OS X, it simply closes the window, leaving the application open in case you need to use it again in the near future. To quit an application quickly, just use the Command+Q keyboard shortcut. :)
  6. PlaceofDis macrumors Core

    Jan 6, 2004
    same thing. doesn't really matter.

    this depends.
    the general rule is that any single window application (like iphoto or system prefs) quit when closing the window, whereas multi windowed applications just close the window and remain open.

    command + Q though will always quite the app, yes.
  7. kolax macrumors G3


    Mar 20, 2007
    Makes sense. CMD+W closes the Window. CMD+Q quits the program.

    Applications like Safari, Word Documents etc can display multiple windows. If clicking the X caused all windows to be quit, this would be very annoying.

    I don't really click on the traffic lights - I use keyboard shortcuts.
  8. iCeFuSiOn macrumors 6502a

    Jul 18, 2007
    Hm yes this is true, I didn't think about iPhoto, GarageBand, etc. I was thinking more along the lines of Safari, Adium, Address Book, Mail, and what-not.
  9. TheSpaz macrumors 604


    Jun 20, 2005
    That would be terrible. If you had your main browser window open in Safari and you closed a pop-up add (that somehow bypassed the Block Popups feature) would you want Safari to quit?
  10. iCeFuSiOn macrumors 6502a

    Jul 18, 2007
    Hell no. As it has already been stated, Command-Q is for quitting the entire application, Command-W closes the window. The original poster wanted the X button on applications to do the same thing as in Windows essentially, which is end the process entirely.
  11. theman macrumors 6502a

    Jul 26, 2007
    i think what the OP wants is for an application to quit when you close the LAST window of a program, not if there are other windows. but still, i see it as a plus for it not to quit. if you want to open another window again shortly, it will open much faster. it makes quitting an application more of a final thing, when you're sure you're done with it.
  12. Whorehay macrumors 6502a


    Feb 17, 2008
    Apple+Q and Apple+W are conveniently next to each other! I've used these two since the beginning of time :)
  13. c073186 thread starter macrumors 6502a

    Nov 2, 2007
    I see what you guys are saying about multi-window apps. I get that. But what I was wondering is why certain applications, like Dictionary and System Preferences close with the X and others that are also single window apps (Address Book, iCal) do not close with the X. In any case it does not make a big difference ... command + Q is not much extra work; I was just curious.
  14. Tom B. macrumors 65816

    Tom B.

    Mar 22, 2006
    I think the idea is that single-windowed applications that are still of use while they have no windows open will not quit when you close the window, but application of no use when no windows are open will quit. Hopefully you understand what I mean as I did not explain that too well. Maybe someone else an help me
  15. ScoobyMcDoo macrumors 65816

    Nov 26, 2007
    Austin, TX
    From the Apple human interface guidelines:

    Closing Windows

    Users can close windows by:


    Choosing Close from the File menu

    Pressing Command-W

    Clicking the close button

    When a user closes a document window, your application should:


    Decide what to do with unsaved data (see “Dialogs for Saving, Closing, and Quitting”)

    Store the window’s onscreen position and size (so they can be used when the window is reopened)

    In most cases, applications that are not document-based should quit when the main window is closed. For Example, System Preferences quits if the user closes the window. If an application continues to perform some function when the main window is closed, however, it may be appropriate to leave it running when the main window is closed. For example, iTunes continues to play when the user closes the main window.

Share This Page