From 0bc5bbd6766949d651f98e12981d79c86ce0bf99 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 23 May 2016 09:31:08 +0300 Subject: Fix the rest of the py scripts --- py/db.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'py/db.py') diff --git a/py/db.py b/py/db.py index c51ca70..315f993 100755 --- a/py/db.py +++ b/py/db.py @@ -33,13 +33,12 @@ class FlipHandler(pykms.PageFlipHandlerBase): if card.has_atomic: ctx = pykms.AtomicReq(card) - ctx.add(crtc, "FB_ID", fb.id) + ctx.add(crtc.primary_plane, "FB_ID", fb.id) ctx.commit(self) else: crtc.page_flip(fb, self) - card = pykms.Card() conn = card.get_first_connected_connector() mode = conn.get_default_mode() -- cgit v1.2.3