Implement `kill' action keyword

When invoked, will kill the client returned by
`layout.current_client`. ICCCM WM_DELETE_WINDOW is used instead if the
window reports to support this protocol.
This commit is contained in:
Thibault Jouan
2015-04-29 02:38:30 +00:00
parent 10ad5d9a76
commit 1cc1f98ad2
4 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
Feature: `kill' action keyword
@icccm_window
Scenario: kills current client
Given uhwm is running with this run control file:
"""
key(:f) { kill_current }
"""
And an ICCCM compliant window is mapped
When I press the alt+f keys
Then the ICCCM window must be unmapped by the manager