aboutsummaryrefslogtreecommitdiff
path: root/include/xcursor
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-23 16:31:00 +0200
committerKenny Levinsen <kl@kl.wtf>2021-04-26 23:12:53 +0200
commite804de923d68499013bafad813607153bd202522 (patch)
tree25f25e4b549fdb7c1cdf4529af8c882b2af01ef1 /include/xcursor
parentf9f90b417366581b58d806956c9b2099417ed4b3 (diff)
backend/drm: clarify error message on drmModeAddFB fallback
The previous code would always print "falling back to legacy method", even if the format wasn't ARGB8888. Drop get_fb_for_bo_legacy, since the code can just be inlined without hurting readability. Ideally we should only fallback to drmModeAddFB if the error code indicates the BE failure, but the original PR [1] doesn't say what error code is returned by the kernel. [1]: https://github.com/swaywm/wlroots/pull/2569
Diffstat (limited to 'include/xcursor')
0 files changed, 0 insertions, 0 deletions