From: Mark Wooding Date: Mon, 7 Apr 2008 13:57:23 +0000 (+0100) Subject: xshutdown: Kill old-style xwait waiters too. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/aeeab4127aa50368af29e66eb3af11b3f86d2cf6 xshutdown: Kill old-style xwait waiters too. --- 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