I found an oversight where trying to transfer too much data (16 MiB in my case) from a Wayland selection to an X window causes the X connection to be unable to poll the event with a `ClosedReqLenExceed` error. To replicate, start `xwls`, use `wl-copy` to copy more data than the `maximum-request-size` to the Wayland selection, then attempt to transfer that selection to an X program. I found this easy to do transferring a large, random `.bmp` file to Krita by creating its new image from clipboard functionality. This test replicates the observed behavior and obtains the same panic, to be used as a starting point for implementing incremental selections from Wayland to X. |
||
|---|---|---|
| .. | ||
| integration.rs | ||