mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Revert "Only set dummy X11 selection if we do not own it"
This reverts commit af4ee1a487
.
This commit is contained in:
parent
b4e9c794fc
commit
1b704b6267
@ -51,10 +51,9 @@ void GuiSelection::haveSelection(bool own)
|
||||
// an application actually requests it.
|
||||
// This way calling Selection::have() is cheap and we can do it as
|
||||
// often as we want.
|
||||
if (own && !qApp->clipboard()->ownsSelection()) {
|
||||
LYXERR(Debug::SELECTION, "GuiSelection: setting dummy selection");
|
||||
//LYXERR(Debug::SELECTION, "GuiSelection: setting dummy selection");
|
||||
if (own)
|
||||
qApp->clipboard()->setText(QString(), QClipboard::Selection);
|
||||
}
|
||||
// We don't need to do anything if own = false, as this case is
|
||||
// handled by QT.
|
||||
// FIXME (gb): This is wrong. What is missing here is rather a call of
|
||||
|
Loading…
Reference in New Issue
Block a user