diff options
Diffstat (limited to 'sway/main.c')
-rw-r--r-- | sway/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c index 124f9fbb..8b0b8612 100644 --- a/sway/main.c +++ b/sway/main.c | |||
@@ -416,6 +416,7 @@ int main(int argc, char **argv) { | |||
416 | security_sanity_check(); | 416 | security_sanity_check(); |
417 | 417 | ||
418 | config->active = true; | 418 | config->active = true; |
419 | setenv("WAYLAND_DISPLAY", server.socket, true); | ||
419 | // Execute commands until there are none left | 420 | // Execute commands until there are none left |
420 | while (config->cmd_queue->length) { | 421 | while (config->cmd_queue->length) { |
421 | char *line = config->cmd_queue->items[0]; | 422 | char *line = config->cmd_queue->items[0]; |