test: Use the test client in test-maximize
This commit is contained in:
parent
2da1900d85
commit
e7232c0dc2
|
@ -2,13 +2,15 @@
|
||||||
|
|
||||||
local runner = require("_runner")
|
local runner = require("_runner")
|
||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
|
local test_client = require("_client")
|
||||||
|
local lgi = require("lgi")
|
||||||
|
|
||||||
local original_geo = nil
|
local original_geo = nil
|
||||||
|
|
||||||
local steps = {
|
local steps = {
|
||||||
function(count)
|
function(count)
|
||||||
if count == 1 then
|
if count == 1 then
|
||||||
awful.spawn("xterm")
|
test_client(nil,nil,nil,nil,nil,{gravity=lgi.Gdk.Gravity.NORTH_WEST})
|
||||||
else
|
else
|
||||||
local c = client.get()[1]
|
local c = client.get()[1]
|
||||||
if c then
|
if c then
|
||||||
|
|
Loading…
Reference in New Issue