X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/8e08f81479e23b3450c872432545290b3b2cd7f9..253f61b46421fbab8407131635f7bbab739a322a:/xshutdown diff --git a/xshutdown b/xshutdown index 83963c8..56c7c5a 100755 --- a/xshutdown +++ b/xshutdown @@ -5,5 +5,8 @@ answer=$(xmsg -Q -t xshutdown -d "Really shutdown this session?" \ "Terminating an X session prematurely can really ruin your day." \ =yes:gtk-yes =no:default:cancel:gtk-no) case "$answer" in - yes) xatom set XINIT_COMMAND !break ;; + yes) + xatom set XINIT_COMMAND !break + xatom set XWAIT_DIE XWAIT_DIE_NOW + ;; esac