Add #x_window_unmap to UAT helpers
This commit is contained in:
parent
9a4f2727d2
commit
b156665236
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user