summaryrefslogtreecommitdiff
path: root/libkms++/card.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkms++/card.cpp')
-rw-r--r--libkms++/card.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libkms++/card.cpp b/libkms++/card.cpp
index d5b823f..4fd971d 100644
--- a/libkms++/card.cpp
+++ b/libkms++/card.cpp
@@ -132,6 +132,11 @@ Card::~Card()
close(m_fd);
}
+void Card::drop_master()
+{
+ drmDropMaster(fd());
+}
+
void Card::restore_modes()
{
for (auto conn : get_connectors())