diff --git a/CMakeLists.txt b/CMakeLists.txt index 43f1675..017b9e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,7 @@ set(XML xml/treeland-foreign-toplevel-manager-v1.xml xml/treeland-shortcut-manager-v1.xml xml/treeland-window-management-v1.xml + xml/treeland-ddm-v1.xml ) install(FILES ${XML} DESTINATION ${CMAKE_INSTALL_DATADIR}/treeland-protocols) diff --git a/xml/treeland-ddm-v1.xml b/xml/treeland-ddm-v1.xml new file mode 100644 index 0000000..cca2b70 --- /dev/null +++ b/xml/treeland-ddm-v1.xml @@ -0,0 +1,55 @@ + + + + + + + This object is primarily used for establish connection between + treeland and ddm. + + + + + Send treeland to Greeter mode. + + + + + Set lockscreen user to username. Ignore when username is "ddm". + + + + + + Activate treeland session. This will makes treeland try to take + control of screen. + + + + + Deactivate treeland session. This will release control of the + screen, but not to close the current seats. + + + + + + Call ddm to switch current virtual terminal to vtnr. ddm should + take care of the switch and call ioctl respectively. + + + + + + Call ddm to acquire control of VT at vtnr. ddm should call + VT_SETMODE respectively. + + + + +