Support usage of ICCCM compliant window in UAT

This commit is contained in:
Thibault Jouan
2015-04-29 02:37:31 +00:00
parent 97abd402b1
commit eed9cdf0c0
2 changed files with 17 additions and 0 deletions

View File

@@ -8,6 +8,19 @@ module Uh
QUIT_KEYBINDING = 'alt+shift+q'.freeze
LOG_READY = 'Working events'.freeze
def icccm_window_start
@icccm_window = ChildProcess.build(*%w[xmessage window])
@icccm_window.start
end
def icccm_window_ensure_stop
@icccm_window.stop
end
def icccm_window_name
'xmessage'
end
def uhwm_run options = '-v'
command = %w[uhwm]
command << options if options