From 79cbfba48a549e9beaaeead4797dc9319025f3f4 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Thu, 11 Jul 2024 22:32:21 -0700 Subject: [PATCH] wayland/layershell: add warning that exclusive focus is not a lock Apparently this needed to be said. --- src/wayland/wlr_layershell/window.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wayland/wlr_layershell/window.hpp b/src/wayland/wlr_layershell/window.hpp index 37092a6a..8ce08b5c 100644 --- a/src/wayland/wlr_layershell/window.hpp +++ b/src/wayland/wlr_layershell/window.hpp @@ -38,6 +38,10 @@ enum Enum { /// No keyboard input will be accepted. None = 0, /// Exclusive access to the keyboard, locking out all other windows. + /// + /// > [!WARNING] You **CANNOT** use this to make a secure lock screen. + /// > + /// > If you want to make a lock screen, use [WlSessionLock](../wlsessionlock). Exclusive = 1, /// Access to the keyboard as determined by the operating system. ///