diff options
author | 2020-06-10 01:13:21 +0100 | |
---|---|---|
committer | 2020-06-10 15:50:31 +0200 | |
commit | 62a530513c9fee1509536b19bcb76cd243621f27 (patch) | |
tree | 093a82a479cd314e2cd648177851964a54948176 /swaybar/bar.c | |
parent | tree/view: fix smart gaps when ancestor container is tabbed or stacked (diff) | |
download | sway-62a530513c9fee1509536b19bcb76cd243621f27.tar.gz sway-62a530513c9fee1509536b19bcb76cd243621f27.tar.zst sway-62a530513c9fee1509536b19bcb76cd243621f27.zip |
swaynag: sway_abort on failure to properly register
In case `wl_display_roundtrip` returns an error after registering for
events, print a more user-friendly error message and exit.
Previously, if the build did not have assertions enabled, this would
likely result in a segfault. With assertions enabled, it's not user
friendly to terminate with internal implementation information.
Diffstat (limited to 'swaybar/bar.c')
0 files changed, 0 insertions, 0 deletions