Skip to content

Commit

Permalink
river-control: mark callback events as destructors
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin authored and ifreund committed Dec 31, 2022
1 parent 609055e commit 1745466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/river-control-unstable-v1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
by the compositor after one of the events is sent.
</description>

<event name="success">
<event name="success" type="destructor">
<description summary="command successful">
Sent when the command has been successfully received and executed by
the compositor. Some commands may produce output, in which case the
Expand All @@ -72,7 +72,7 @@
<arg name="output" type="string" summary="the output of the command"/>
</event>

<event name="failure">
<event name="failure" type="destructor">
<description summary="command failed">
Sent when the command could not be carried out. This could be due to
sending a non-existent command, no command, not enough arguments, too
Expand Down

0 comments on commit 1745466

Please sign in to comment.