From 4b7846efcdbc91b9be50dd66d6e6b725666d26aa Mon Sep 17 00:00:00 2001 From: Jens Nolte <git@queezle.net> Date: Thu, 16 Sep 2021 23:19:41 +0200 Subject: [PATCH] Update documentation --- src/Quasar/Wayland/Protocol/Core.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Quasar/Wayland/Protocol/Core.hs b/src/Quasar/Wayland/Protocol/Core.hs index bd759ac..540a42d 100644 --- a/src/Quasar/Wayland/Protocol/Core.hs +++ b/src/Quasar/Wayland/Protocol/Core.hs @@ -480,7 +480,8 @@ takeOutbox protocol = runProtocolTransaction protocol do pure sendData --- | Create an object. The caller is responsible for sending the 'NewId' exactly once before using the object. +-- | Create an object. The caller is responsible for sending the 'NewId' immediately (exactly once; in the same STM +-- transaction; before using the object). newObject :: forall s i. IsInterfaceSide s i => Callback s i -- GitLab