mirror of
https://github.com/labwc/labwc.git
synced 2026-02-13 04:27:49 -05:00
server: do not set WAYLAND_DISPLAY twice
This commit is contained in:
parent
22aa31cb7f
commit
ee00a897a4
1 changed files with 0 additions and 1 deletions
|
|
@ -460,7 +460,6 @@ server_start(struct server *server)
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
setenv("WAYLAND_DISPLAY", socket, true);
|
|
||||||
if (setenv("WAYLAND_DISPLAY", socket, true) < 0) {
|
if (setenv("WAYLAND_DISPLAY", socket, true) < 0) {
|
||||||
wlr_log_errno(WLR_ERROR, "unable to set WAYLAND_DISPLAY");
|
wlr_log_errno(WLR_ERROR, "unable to set WAYLAND_DISPLAY");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue