sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 3f3d1ffee48b5a41910378dcd7c869397ca882d4
parent 7427ce89303a2f409ed651643bd8c6566217e7c5
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 17 Aug 2015 18:20:56 -0400

Rearrange main.c some more

Diffstat:
Msway/main.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sway/main.c b/sway/main.c @@ -12,17 +12,17 @@ static void sigchld_handle(int signal); int main(int argc, char **argv) { - init_log(L_DEBUG); // TODO: Control this with command line arg - init_layout(); - /* Signal handling */ signal(SIGCHLD, sigchld_handle); setenv("WLC_DIM", "0", 0); + /* Changing code earlier than this point requires detailed review */ if (!wlc_init(&interface, argc, argv)) { return 1; } - setenv("DISPLAY", ":1", 1); + + init_log(L_DEBUG); // TODO: Control this with command line arg + init_layout(); if (!load_config()) { sway_log(L_ERROR, "Error(s) loading config!");