Add ‘Kill’ to client right-click menu

This commit is contained in:
Kris Maglione 2008-10-22 12:50:06 -04:00
parent bda87f5ea4
commit c11fc6a3fe
2 changed files with 5 additions and 1 deletions

View File

@ -106,6 +106,8 @@ fn Event-LeftBar^(Click DND) {
fn ClientMenu-3-Delete {
wmiir xwrite /client/$1/ctl kill}
fn ClientMenu-3-Kill {
wmiir xwrite /client/$1/ctl slay}
fn ClientMenu-3-Fullscreen {
wmiir xwrite /client/$1/ctl Fullscreen on}
fn Event-ClientMouseDown {

View File

@ -89,7 +89,9 @@ events() {
xpid = $!
Menu Client-3-Delete
wmiir xwrite /client/$1/ctl kill
Menu Client-3-Fullscreen {
Menu Client-3-Kill
wmiir xwrite /client/$1/ctl slay
Menu Client-3-Fullscreen
wmiir xwrite /client/$1/ctl Fullscreen on
Event ClientMouseDown
wi_fnmenu Client $2 $1 &