mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Fix incorrect manpage
This commit is contained in:
@@ -209,7 +209,7 @@ A value of 0 means to use the best option available.
|
|||||||
.BI \-region " WxH+X+Y"
|
.BI \-region " WxH+X+Y"
|
||||||
Specify region to capture when using
|
Specify region to capture when using
|
||||||
.BR \-w " region."
|
.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).
|
It is compatible with tools such as slop (X11) and slurp (Wayland).
|
||||||
.TP
|
.TP
|
||||||
|
|||||||
@@ -3564,7 +3564,7 @@ static void set_display_server_environment_variables() {
|
|||||||
|
|
||||||
const char *wayland_display = getenv("WAYLAND_DISPLAY");
|
const char *wayland_display = getenv("WAYLAND_DISPLAY");
|
||||||
if(!wayland_display) {
|
if(!wayland_display) {
|
||||||
wayland_display = "wayland-1";
|
wayland_display = "wayland-0";
|
||||||
setenv("WAYLAND_DISPLAY", wayland_display, true);
|
setenv("WAYLAND_DISPLAY", wayland_display, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user