|
|
|
@ -250,7 +250,7 @@ bool Selection::handleSelectionNotify(xcb_selection_notify_event_t *event)
|
|
|
|
|
if (m_xSource && m_xSource->handleSelectionNotify(event)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
for (TransferXtoWl *transfer : m_xToWlTransfers) {
|
|
|
|
|
for (TransferXtoWl *transfer : qAsConst(m_xToWlTransfers)) {
|
|
|
|
|
if (transfer->handleSelectionNotify(event)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
@ -260,12 +260,12 @@ bool Selection::handleSelectionNotify(xcb_selection_notify_event_t *event)
|
|
|
|
|
|
|
|
|
|
bool Selection::handlePropertyNotify(xcb_property_notify_event_t *event)
|
|
|
|
|
{
|
|
|
|
|
for (TransferXtoWl *transfer : m_xToWlTransfers) {
|
|
|
|
|
for (TransferXtoWl *transfer : qAsConst(m_xToWlTransfers)) {
|
|
|
|
|
if (transfer->handlePropertyNotify(event)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
for (TransferWltoX *transfer : m_wlToXTransfers) {
|
|
|
|
|
for (TransferWltoX *transfer : qAsConst(m_wlToXTransfers)) {
|
|
|
|
|
if (transfer->handlePropertyNotify(event)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
@ -339,10 +339,10 @@ void Selection::endTimeoutTransfersTimer()
|
|
|
|
|
|
|
|
|
|
void Selection::timeoutTransfers()
|
|
|
|
|
{
|
|
|
|
|
for (TransferXtoWl *transfer : m_xToWlTransfers) {
|
|
|
|
|
for (TransferXtoWl *transfer : qAsConst(m_xToWlTransfers)) {
|
|
|
|
|
transfer->timeout();
|
|
|
|
|
}
|
|
|
|
|
for (TransferWltoX *transfer : m_wlToXTransfers) {
|
|
|
|
|
for (TransferWltoX *transfer : qAsConst(m_wlToXTransfers)) {
|
|
|
|
|
transfer->timeout();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|