Register :configure event for layout in runner

This commit is contained in:
Thibault Jouan
2015-04-20 05:35:23 +00:00
parent 84d92798a0
commit 30cb15b5d3
2 changed files with 13 additions and 2 deletions

View File

@@ -107,6 +107,10 @@ module Uh
log "Registering layout `#{layout.class}'"
layout.register display
end
@events.on :configure do |window|
log "Configuring window: #{window}"
layout.suggest_geo
end
@events.on :manage do |client|
log "Managing client #{client}"
layout << client