diff --git a/src/Quasar/Wayland/Protocol/Core.hs b/src/Quasar/Wayland/Protocol/Core.hs index bd759ac0969928e894eb44c2f9676f08cd46fb28..540a42d9d215a3dbeec51ac2f9b78e9636a0e024 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