Class LockSurface
One surface of the lock client, from wm.session_lock:surfaces(). The lock client makes one for each output.
lua
for _, surface in ipairs(wm.session_lock:surfaces()) do
print(surface:output().name, surface:has_buffer())
endMethods
surface:output() -> Outputoutput
The output the surface covers. It is the size of that output.
surface:has_buffer() -> booleanhas_buffer
Whether the lock client has drawn on it yet. The session is "locked" only once the surface on every output has.