How to Quit by default X11 when shutting down

When I shutdown my computer I am having followin pop-up for X11, by default I want to always Quit instead of manually clicking.

enter image description here

[Q] How to accept by defualt Quit for X11 when it is closed?


Adding the following to the X11 preferences removes the popup-

defaults write org.macosforge.xquartz.X11 no_quit_alert true