mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
tests: use root.fake_input instead of xdotool
Ref: https://github.com/awesomeWM/awesome/issues/328
This commit is contained in:
parent
baeb8fd2b5
commit
ccaa8154be
1 changed files with 4 additions and 1 deletions
|
@ -46,7 +46,10 @@ local steps = {
|
|||
function(count)
|
||||
if count == 1 then
|
||||
-- Setup: switch to tag.
|
||||
os.execute('xdotool key super+2')
|
||||
root.fake_input("key_press", "Super_L")
|
||||
root.fake_input("key_press", "2")
|
||||
root.fake_input("key_release", "2")
|
||||
root.fake_input("key_release", "Super_L")
|
||||
|
||||
elseif awful.tag.selectedlist()[1] == tags[1][2] then
|
||||
assert(#client.get() == 1)
|
||||
|
|
Loading…
Reference in a new issue