does sdl work if i enabled libdecor in x11?

i know by default SDL should work for both wayland and x11 by changing the environment variable solely, however suppose if i enabled libdecor, i know that libdecor can be loaded dynamically, but user still need on their system for to work. Now if i ship the code like that, i feel it would be a problem if it were to run on a X11 based system, since libdecor has no fall back mechenism, am i undertanding this correctly?