Only bind wl_seat up to version 6

This commit is contained in:
Victor Berger 2020-02-27 15:59:48 +01:00
parent e28a54171f
commit 715a926d1b
2 changed files with 5 additions and 2 deletions

View file

@ -2,6 +2,9 @@
## Unreleased
- Only bind seat with version up to 6, as version 7 is not yet supported by SCTK
for loading keymaps
## 0.3.6 -- 2019-11-21
- Perform loaded data normalization for text/plain;charset=utf-8 mime type

View file

@ -216,7 +216,7 @@ fn clipboard_thread(
// Implement the seat
implement_seat(
id,
version,
std::cmp::min(version, 6), // only seat up to version 6 is supported
seat_map_clone.clone(),
last_seat_name_clone.clone(),
data_device_manager,
@ -242,7 +242,7 @@ fn clipboard_thread(
for (id, version) in &unimplemented_seats {
implement_seat(
*id,
*version,
std::cmp::min(*version, 6), // only seat up to version 6 is supported
seat_map_clone.clone(),
last_seat_name_clone.clone(),
data_device_manager_clone.lock().unwrap().as_ref().unwrap(),