aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-04-02 11:51:46 -0400
committerLibravatar emersion <contact@emersion.fr>2019-04-03 19:46:08 +0300
commit0ad905f23cc2862c96401b6a27d918b237db35b5 (patch)
treec4160f97439e2264a2040e6d41e0d39c9e8822dc /include/sway/config.h
parentroot_scratchpad_hide: fix crash when layer focused (diff)
downloadsway-0ad905f23cc2862c96401b6a27d918b237db35b5.tar.gz
sway-0ad905f23cc2862c96401b6a27d918b237db35b5.tar.zst
sway-0ad905f23cc2862c96401b6a27d918b237db35b5.zip
idle_inhibit: fix crash during view destruction
This fixes a crash for application set idle inhibitors when their associated view is being destroyed. There is a call to `view_is_visible` to determine is the view is visible and it assumes that the view has an container, but it is possible for the container to already have been destroyed at this point. There is a NULL check for the view in `check_active` and this re-adds the NULL check for the container that I accidentally dropped when refactoring during the inhibit_idle command PR
Diffstat (limited to 'include/sway/config.h')
0 files changed, 0 insertions, 0 deletions