Add #x_window_unmap to UAT helpers

This commit is contained in:
Thibault Jouan 2015-04-20 09:17:32 +00:00
parent 9a4f2727d2
commit b156665236

View File

@ -99,6 +99,11 @@ module Uh
`xwininfo -id #{x_window_id options}`[/Map State: (\w+)/, 1]
end
def x_window_unmap options
x_client(options).unmap
x_client(options).sync
end
def x_clients_ensure_stop
@x_clients and @x_clients.any? and @x_clients.values.each &:terminate
end
@ -165,6 +170,11 @@ module Uh
window.map
self
end
def unmap
window.unmap
self
end
end
end
end