chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1558143
)
xshutdown: Kill old-style xwait waiters too.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 7 Apr 2008 13:57:23 +0000
(14:57 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 7 Apr 2008 13:57:23 +0000
(14:57 +0100)
xshutdown
patch
|
blob
|
blame
|
history
diff --git
a/xshutdown
b/xshutdown
index 83963c8593bed6c52a8a5b0127f0ad7fe566c073..56c7c5a6a96ad54e6f74020fbd43829c6ccb1da6 100755
(executable)
--- 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