data-device: send dndFinished when dnd offer is destroyed while unfinished
fixes #7496
see 711c5bb43f
see https://bugs.kde.org/show_bug.cgi\?id\=482142
This commit is contained in:
parent
7dd0f76e5a
commit
00ee1cf98e
4 changed files with 16 additions and 1 deletions
|
|
@ -19,3 +19,7 @@ void IDataSource::markUsed() {
|
|||
eDataSourceType IDataSource::type() {
|
||||
return DATA_SOURCE_TYPE_WAYLAND;
|
||||
}
|
||||
|
||||
void IDataSource::sendDndFinished() {
|
||||
;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ class IDataSource {
|
|||
virtual void cancelled() = 0;
|
||||
virtual bool hasDnd();
|
||||
virtual bool dndDone();
|
||||
virtual void sendDndFinished();
|
||||
virtual bool used();
|
||||
virtual void markUsed();
|
||||
virtual void error(uint32_t code, const std::string& msg) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue