Add comment about usage to arrange_windows declaration
This commit is contained in:
parent
d7169ee7ff
commit
3c81a900b7
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ void add_gaps(struct sway_container *c);
|
||||||
*
|
*
|
||||||
* Use this function if you need to arrange multiple sections of the tree in one
|
* Use this function if you need to arrange multiple sections of the tree in one
|
||||||
* transaction.
|
* transaction.
|
||||||
|
*
|
||||||
|
* You must set the desired state of the container before calling
|
||||||
|
* arrange_windows, then don't change any state-tracked properties in the
|
||||||
|
* container until you've called transaction_commit.
|
||||||
*/
|
*/
|
||||||
void arrange_windows(struct sway_container *container,
|
void arrange_windows(struct sway_container *container,
|
||||||
struct sway_transaction *transaction);
|
struct sway_transaction *transaction);
|
||||||
|
|
Loading…
Add table
Reference in a new issue