summaryrefslogtreecommitdiff
path: root/libkms++
diff options
context:
space:
mode:
Diffstat (limited to 'libkms++')
-rw-r--r--libkms++/atomicreq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms++/atomicreq.cpp b/libkms++/atomicreq.cpp
index 0155aa0..2e5d469 100644
--- a/libkms++/atomicreq.cpp
+++ b/libkms++/atomicreq.cpp
@@ -64,7 +64,7 @@ int AtomicReq::test()
int AtomicReq::commit(void* data)
{
- uint32_t flags = DRM_MODE_PAGE_FLIP_EVENT;
+ uint32_t flags = DRM_MODE_PAGE_FLIP_EVENT | DRM_MODE_ATOMIC_NONBLOCK;
return drmModeAtomicCommit(m_card.fd(), m_req, flags, data);
}