xwayland: fix sending large clipboard data (#9134)

This commit is contained in:
DDoSolitary 2025-01-22 22:27:46 +08:00 committed by GitHub
parent c90dbfab6f
commit fda5626594
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 35 additions and 21 deletions

View file

@ -50,6 +50,7 @@ struct SXSelection {
void onKeyboardFocus();
bool sendData(xcb_selection_request_event_t* e, std::string mime);
int onRead(int fd, uint32_t mask);
int onWrite();
struct {
CHyprSignalListener setSelection;