diff options
author | 2021-12-21 12:05:05 +0100 | |
---|---|---|
committer | 2021-12-23 12:16:37 +0100 | |
commit | d7867d41c25e0a027a9900f3dde565c6caaa4890 (patch) | |
tree | e6289736db177a618568ef0d948a99570ce62d40 /completions/zsh/_swaymsg | |
parent | swaybar: fix errno handling in status_handle_readable (diff) | |
download | sway-d7867d41c25e0a027a9900f3dde565c6caaa4890.tar.gz sway-d7867d41c25e0a027a9900f3dde565c6caaa4890.tar.zst sway-d7867d41c25e0a027a9900f3dde565c6caaa4890.zip |
Add cairo_image_surface_create error handling
cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.
Closes: https://github.com/swaywm/sway/issues/6531
(cherry picked from commit 59aebaa5f9f3afe9cdfbb0d37c4dc631690da3b9)
Diffstat (limited to 'completions/zsh/_swaymsg')
0 files changed, 0 insertions, 0 deletions