From ded84bf2620313b701af9c88b0f6c6ada2c70eaa Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 6 Jun 2016 19:56:26 +0300 Subject: py: fix scripts when there's no current crtc --- py/iact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/iact.py') diff --git a/py/iact.py b/py/iact.py index 82511c3..cfb1745 100755 --- a/py/iact.py +++ b/py/iact.py @@ -17,7 +17,7 @@ mode = conn.get_default_mode() fb = pykms.DumbFramebuffer(card, 200, 200, "XR24"); pykms.draw_test_pattern(fb); -crtc = conn.get_current_crtc() +crtc = get_crtc_for_connector(conn) #crtc.set_mode(conn, fb, mode) -- cgit v1.2.3