]> git.lyx.org Git - lyx.git/commit
Fix paste of selection to (unfocused) external applications
authorEnrico Forestieri <forenr@lyx.org>
Sun, 10 Jul 2016 17:31:32 +0000 (19:31 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 10 Jul 2016 17:31:32 +0000 (19:31 +0200)
commitcb0c881b0298ef6c54e0cc57dc6f2ef46716c7aa
tree0a414a9eb4ec97cf702b19ee40ae57721e3e8617
parent65173b26d55ab7fe0ac15be82730e7f99e8d8aed
Fix paste of selection to (unfocused) external applications

With both Qt4 and Qt5, when using a click-to-focus policy, the first
attempt to paste a selection by middle mouse in an external application
which has no focus may fail. It is not clear why this succeeds for some
applications and fails for others, but refreshing the timestamp of the
selection request cures the issue. The cmake part is by Kornel.

See also this thread:
http://thread.gmane.org/gmane.editors.lyx.devel/162491
CMakeLists.txt
config/qt4.m4
development/cmake/ConfigureChecks.cmake
src/frontends/qt4/GuiApplication.cpp