Smithay / smithay-clipboard

Provides access to the wayland clipboard for client applications
MIT License
29 stars 12 forks source link

Fix the crash when there's no focus on a seat #20

Closed kchibisov closed 4 years ago

kchibisov commented 4 years ago

If the user asks for clipboard data with neither wl_keyboard nor wl_pointer focus being presented on a seat, we should ignore the request and reply with error, instead of crashing.