summaryrefslogtreecommitdiff
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorSimon Ser <[email protected]>2021-12-21 12:05:05 +0100
committerSimon Ser <[email protected]>2021-12-23 12:16:37 +0100
commitd7867d41c25e0a027a9900f3dde565c6caaa4890 (patch)
treee6289736db177a618568ef0d948a99570ce62d40 /sway/tree/view.c
parent5d16d15a95bfaa1d55255b108e4c86337b8900b5 (diff)
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 'sway/tree/view.c')
0 files changed, 0 insertions, 0 deletions