Prototype clients management with windows

This commit is contained in:
Thibault Jouan
2015-04-15 17:56:17 +00:00
parent 8bcb31ddc2
commit fe47e27d98
5 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
Feature: layout client management
Scenario: sends the #<< message when telling the layout to manage a client
Given a file named layout.rb with:
"""
class Layout
def register *_; end
def << client
# FIXME: need the Manager to manage state with clients, not windows
#puts client.wname
puts client.name
end
end
"""
And uhwm is running with options -v -r./layout -l Layout
When a window requests to be mapped
Then the output must contain the window name