mej pushed a commit to branch eterm-0.10. http://git.enlightenment.org/apps/eterm.git/commit/?id=f176b4632da282560f64705d3c6e2f260f62dc25
commit f176b4632da282560f64705d3c6e2f260f62dc25 Author: Michael Jennings <m...@lbl.gov> Date: Wed Mar 26 10:00:35 2014 -0700 Patch from Pavel Sanda <p...@ucw.cz> to fix copy/paste behavior with some Qt-based apps (e.g., LyX). --- .gitignore | 45 +++++++++++++++++++++++++++++++++++++++++++++ ChangeLog | 5 +++++ src/screen.c | 1 + 3 files changed, 51 insertions(+) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ce07b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,45 @@ +*.log +config.sub +config.cache +config.guess +configure +ltconfig +ltmain.sh +Makefile +Makefile.in +aclocal.m4 +libtool.m4 +lt*.m4 +config.status +config.h +libtool +stamp-h* +libast.spec +config.h.in +missing +mkinstalldirs +install-sh +Eterm*.tar.gz +*.sddf +Makefile +Makefile.in +.deps +.libs +lib*.la +*.da +*.lo +*.o +autom4te* +depcomp +*.orig +*.rej +*~ +doc/Eterm.1 +doc/Eterm.1.html +doc/Eterm.tcap +src/Eterm +themes/*/theme.cfg +utils/Esetroot +utils/Etbg +utils/Ettable +utils/kEsetroot diff --git a/ChangeLog b/ChangeLog index 7483c0c..5e3057b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5771,3 +5771,8 @@ Sun Sep 12 23:36:21 2010 Michael Jennings (mej) Fix merge error and additional LibAST updates. ---------------------------------------------------------------------- +Wed Mar 26 10:00:18 2014 Michael Jennings (mej) + +Patch from Pavel Sanda <p...@ucw.cz> to fix copy/paste behavior with +some Qt-based apps (e.g., LyX). +---------------------------------------------------------------------- diff --git a/src/screen.c b/src/screen.c index d0d7458..3bdab1f 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2660,6 +2660,7 @@ selection_copy_string(Atom sel, char *str, size_t len) if (XGetSelectionOwner(Xdisplay, sel) != TermWin.vt) { libast_print_error("Can't take ownership of selection\n"); } + XFlush(Xdisplay); } else { D_SELECT(("Copying selection to cut buffer %d\n", (int) sel)); XChangeProperty(Xdisplay, Xroot, sel, XA_STRING, 8, PropModeReplace, str, len); --