mirror of
https://github.com/labwc/labwc.git
synced 2026-04-10 08:21:07 -04:00
server: do not set WAYLAND_DISPLAY twice
This commit is contained in:
parent
8d98802b39
commit
ddd76be265
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