Fix incorrect manpage

This commit is contained in:
dec05eba
2026-02-25 01:08:05 +01:00
parent 309c4e5f2e
commit eff5d619eb
2 changed files with 2 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ A value of 0 means to use the best option available.
.BI \-region " WxH+X+Y"
Specify region to capture when using
.BR \-w " region."
Format is width x height + X offset + Y offset. Use 0x0 for full monitor.
Format is width x height + X offset + Y offset. Set width and height to 0 to capture the whole monitor that contains the position.
It is compatible with tools such as slop (X11) and slurp (Wayland).
.TP

View File

@@ -3564,7 +3564,7 @@ static void set_display_server_environment_variables() {
const char *wayland_display = getenv("WAYLAND_DISPLAY");
if(!wayland_display) {
wayland_display = "wayland-1";
wayland_display = "wayland-0";
setenv("WAYLAND_DISPLAY", wayland_display, true);
}
}