mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: remove redundant selection clearing in KSelectionOwner::release()
if both the destroy and selection clearing are delivered (in that order) to selection poller, the poller selection may be cleared Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e07fc01227
commit
6b7cd4e1e4
1 changed files with 0 additions and 1 deletions
|
@ -132,7 +132,6 @@ void KSelectionOwner::release()
|
|||
}
|
||||
kDebug() << "Destroying owner window";
|
||||
XDestroyWindow(d->x11display, d->x11window);
|
||||
XSetSelectionOwner(d->x11display, d->x11atom, None, CurrentTime);
|
||||
XFlush(d->x11display);
|
||||
d->x11window = None;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue