]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/163-wm-state.t
testcases: use $x in wait_for_(un)map change to wait_for_(un)map($win)
[i3/i3] / testcases / t / 163-wm-state.t
index e5b42df4d96471aee81f46796971c7a56a2c9a83..f3e7e2d17c632fa55964b650afb9d91c595ad868 100644 (file)
@@ -15,7 +15,7 @@ is($window->state, ICCCM_WM_STATE_NORMAL, 'WM_STATE normal');
 
 $window->unmap;
 
-wait_for_unmap $x;
+wait_for_unmap $window;
 
 is($window->state, ICCCM_WM_STATE_WITHDRAWN, 'WM_STATE withdrawn');