summaryrefslogtreecommitdiff
path: root/py/trans-test.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/trans-test.py')
-rwxr-xr-xpy/trans-test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/trans-test.py b/py/trans-test.py
index 9635737..e80802b 100755
--- a/py/trans-test.py
+++ b/py/trans-test.py
@@ -12,7 +12,7 @@ card = pykms.Card()
conn = card.get_first_connected_connector()
mode = conn.get_default_mode()
-crtc = conn.get_current_crtc()
+crtc = get_crtc_for_connector(conn)
planes = []
for p in card.planes: