test: Use the test client in test-maximize

This commit is contained in:
Emmanuel Lepage Vallee 2017-02-26 14:24:27 -05:00 committed by Uli Schlachter
parent 2da1900d85
commit e7232c0dc2
1 changed files with 3 additions and 1 deletions

View File

@ -2,13 +2,15 @@
local runner = require("_runner")
local awful = require("awful")
local test_client = require("_client")
local lgi = require("lgi")
local original_geo = nil
local steps = {
function(count)
if count == 1 then
awful.spawn("xterm")
test_client(nil,nil,nil,nil,nil,{gravity=lgi.Gdk.Gravity.NORTH_WEST})
else
local c = client.get()[1]
if c then