xwayland: sync primary selection with wayland (#9952)

This commit is contained in:
nyx 2025-04-08 11:36:29 -04:00 committed by GitHub
parent b15c2bfff6
commit 642f394eb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 62 additions and 18 deletions

View file

@ -201,6 +201,7 @@ class CXWM {
uint64_t lastFocusSeq = 0;
SXSelection clipboard;
SXSelection primarySelection;
SXSelection dndSelection;
SP<CX11DataDevice> dndDataDevice = makeShared<CX11DataDevice>();
std::vector<SP<CX11DataOffer>> dndDataOffers;