Quit on `mod1+q' key binding

* Loop our runner until it is "stopped";
* Use the event dispatcher to stop the runner on `mod1+q' key press;
* Tell the manager to grab the `q' key.
This commit is contained in:
Thibault Jouan
2015-04-08 02:56:10 +00:00
parent 224ae6be5f
commit ceac19b346
7 changed files with 73 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
Feature: quit action
Scenario: quits on keybing press
Given uhwm is running
When I press the default quit key binding
Then uhwm should terminate successfully