xwayland: fix xwayland -> wayland clipboard (#10646)

This commit is contained in:
Jasson 2025-06-04 11:00:55 -04:00 committed by GitHub
parent d9f7448d82
commit d7a87ce6e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1214,6 +1214,7 @@ void CXWM::initSelection() {
};
createSelectionWindow(m_clipboard.window, "CLIPBOARD_MANAGER");
createSelectionWindow(m_clipboard.window, "CLIPBOARD");
m_clipboard.listeners.setSelection = g_pSeatManager->m_events.setSelection.registerListener([this](std::any) { m_clipboard.onSelection(); });
m_clipboard.listeners.keyboardFocusChange = g_pSeatManager->m_events.keyboardFocusChange.registerListener([this](std::any) { m_clipboard.onKeyboardFocus(); });