aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
authorBor Grošelj Simić <bor.groseljsimic@telemach.net>2018-07-04 12:19:13 +0200
committerGitHub <noreply@github.com>2018-07-04 12:19:13 +0200
commitffc61e5f3fbe479ec2651ea73ec3df0c57ed83db (patch)
tree4b81a611432492cfd1bd0c0f360c387f2c495428 /sway/main.c
parent484042efd8a7f3dd85a763f9ecdda01e5a798693 (diff)
parent4afa18a0c03b37d92557ce9a1b6822d2acac13f7 (diff)
downloadsway-ffc61e5f3fbe479ec2651ea73ec3df0c57ed83db.tar.xz
Merge branch 'master' into fix_transparency
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c1
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) {
security_sanity_check();
config->active = true;
+ setenv("WAYLAND_DISPLAY", server.socket, true);
// Execute commands until there are none left
while (config->cmd_queue->length) {
char *line = config->cmd_queue->items[0];