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

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.
This commit is contained in:
Kirill Chibisov 2020-08-05 22:39:43 +03:00 committed by Victor Berger
parent 40d0f2afc5
commit 7fc533d55f
2 changed files with 12 additions and 3 deletions

View file

@ -2,6 +2,8 @@
## Unreleased
- Fixed clipboard crashing, when seat has neither keyboard nor pointer focus
## 0.5.1 -- 2020-07-10
- Fixed clipboard not working, when seat had empty name