Rename Manager#manage as Manager#map

This commit is contained in:
Thibault Jouan
2015-04-20 07:14:55 +00:00
parent d8994dc165
commit f15fa116c9
2 changed files with 11 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ module Uh
end
end
def manage window
def map window
return if window.override_redirect? || client_for(window)
@clients << client = Client.new(window)
@events.emit :manage, args: client
@@ -94,7 +94,7 @@ module Uh
end
def handle_map_request event
manage event.window
map event.window
end
def client_for window