Test how manager should handle destroyed windows

This commit is contained in:
Thibault Jouan
2015-04-21 02:21:40 +00:00
parent e97dcea87a
commit 29f2b4725d
3 changed files with 21 additions and 1 deletions

View File

@@ -106,6 +106,11 @@ module Uh
x_client(options).sync
end
def x_window_destroy **options
x_client(options).destroy
x_client(options).sync
end
def x_clients_ensure_stop
@x_clients and @x_clients.any? and @x_clients.values.each &:terminate
end
@@ -177,6 +182,11 @@ module Uh
window.unmap
self
end
def destroy
window.destroy
self
end
end
end
end