sway

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

commit 7c44ca95f9aef526c6cfa8c2d3704af39755f38b
parent 378697b79d4705b96a33bd66e50ab71ec0e4c556
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 17 Jun 2018 11:26:57 -0700

Merge pull request #2140 from Hello71/patch-2

swayidle: fix stack overflow on sleep
Diffstat:
Mswayidle/main.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/swayidle/main.c b/swayidle/main.c @@ -127,7 +127,8 @@ void acquire_sleep_lock() { static int prepare_for_sleep(sd_bus_message *msg, void *userdata, sd_bus_error *ret_error) { - bool going_down = true; + /* "b" apparently reads into an int, not a bool */ + int going_down = 1; int ret = sd_bus_message_read(msg, "b", &going_down); if (ret < 0) { wlr_log(L_ERROR, "Failed to parse D-Bus response for Inhibit: %s",