river: update some comments

Mostly stuff not reflecting renames, plus a few if-then comma errors i
noticed.
This commit is contained in:
tiosgz
2023-08-03 10:52:16 +00:00
parent c16628c7f5
commit bbd21c1637
2 changed files with 9 additions and 8 deletions

View File

@ -36,7 +36,7 @@ pub fn focusOutput(
if (args.len < 2) return Error.NotEnoughArguments;
if (args.len > 2) return Error.TooManyArguments;
// If the noop output is focused, there are no other outputs to switch to
// If the fallback pseudo-output is focused, there are no other outputs to switch to
if (seat.focused_output == null) {
assert(server.root.outputs.len == 0);
return;
@ -60,7 +60,7 @@ pub fn sendToOutput(
if (result.args.len < 1) return Error.NotEnoughArguments;
if (result.args.len > 1) return Error.TooManyArguments;
// If the noop output is focused, there is nowhere to send the view
// If the fallback pseudo-output is focused, there is nowhere to send the view
if (seat.focused_output == null) {
assert(server.root.outputs.len == 0);
return;