i3/testcases/t/68-regress-fullscreen-restart.t
Michael Stapelberg de5286da59 tests: lib/i3test: Remove open_standard_window, introduce open_window
open_window has a better API than open_standard_window. It uses named
parameters and supplies default values for everything you don’t specify. This
way, you can use every feature which X11::XCB::Window supports.
2011-09-24 15:11:37 +01:00

29 lines
375 B
Perl

#!perl
# vim:ts=4:sw=4:expandtab
#
# Verifies that i3 survives inplace restarts with fullscreen containers
#
use i3test;
use X11::XCB qw(:all);
use X11::XCB::Connection;
my $x = X11::XCB::Connection->new;
fresh_workspace;
open_window($x);
open_window($x);
cmd 'layout stacking';
sleep 1;
cmd 'fullscreen';
sleep 1;
cmd 'restart';
sleep 1;
does_i3_live;
done_testing;