sway

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

commit 5192f74be132a563e30b240415b385e67cbacadb
parent 31c6b5814f8725feb17f7819ea6951cf2c198327
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 16 Sep 2018 10:19:14 -0400

Merge pull request #2641 from marienz/inhibit-crash

Fix crash when an idle-inhibiting client exits
Diffstat:
Msway/desktop/idle_inhibit_v1.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/desktop/idle_inhibit_v1.c b/sway/desktop/idle_inhibit_v1.c @@ -44,7 +44,7 @@ void idle_inhibit_v1_check_active( struct sway_idle_inhibitor_v1 *inhibitor; bool inhibited = false; wl_list_for_each(inhibitor, &manager->inhibitors, link) { - if (!inhibitor->view) { + if (!inhibitor->view || !inhibitor->view->container) { /* Cannot guess if view is visible so assume it is */ inhibited = true; break;