Created
December 28, 2016 01:42
-
-
Save nanasess/f04cb2a8926c5423e47efec4327b340a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/xselect.c | |
+++ b/src/xselect.c | |
@@ -1194,7 +1194,7 @@ x_get_foreign_selection (Lisp_Object selection_symbol, Lisp_Object target_type, | |
unblock_input (); | |
/* This allows quits. Also, don't wait forever. */ | |
- timeout = max (0, x_selection_timeout); | |
+ /*timeout = max (0, x_selection_timeout); | |
secs = timeout / 1000; | |
nsecs = (timeout % 1000) * 1000000; | |
TRACE1 (" Start waiting %"pI"d secs for SelectionNotify", secs); | |
@@ -1205,7 +1205,7 @@ x_get_foreign_selection (Lisp_Object selection_symbol, Lisp_Object target_type, | |
if (NILP (XCAR (reading_selection_reply))) | |
error ("Timed out waiting for reply from selection owner"); | |
if (EQ (XCAR (reading_selection_reply), Qlambda)) | |
- return Qnil; | |
+ return Qnil;*/ | |
/* Otherwise, the selection is waiting for us on the requested property. */ | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment