Skip to content

Commit

Permalink
Merge branch 'clipboard_clear_signaling' into 'mer-5.4'
Browse files Browse the repository at this point in the history
[qtwayland] Signal clipboard change when window unfocus clears the content. Fixes JB#46506

See merge request mer-core/qtwayland!17
  • Loading branch information
pvuorela committed Oct 15, 2019
2 parents 40f8c20 + 4cf2250 commit af8ac71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/qwaylanddatadevice.cpp
Expand Up @@ -80,6 +80,7 @@ QWaylandDataOffer *QWaylandDataDevice::selectionOffer() const
void QWaylandDataDevice::invalidateSelectionOffer()
{
m_selectionOffer.reset();
QGuiApplicationPrivate::platformIntegration()->clipboard()->emitChanged(QClipboard::Clipboard);
}

QWaylandDataSource *QWaylandDataDevice::selectionSource() const
Expand Down

0 comments on commit af8ac71

Please sign in to comment.