diff src/select-x.c @ 2625:f2bd34928a0f

[xemacs-hg @ 2005-03-01 22:43:31 by aidan] (Slightly Revised) Add configure check for XtRegisterDrawable No feedback yet from Vin on whether this works, but I want to sleep now :-) .
author aidan
date Tue, 01 Mar 2005 22:43:41 +0000
parents 48facb601f29
children cf6ef27aa9a7
line wrap: on
line diff
--- a/src/select-x.c	Tue Mar 01 00:21:18 2005 +0000
+++ b/src/select-x.c	Tue Mar 01 22:43:41 2005 +0000
@@ -527,6 +527,10 @@
     }
   else
     {
+#ifndef HAVE_XTREGISTERDRAWABLE
+      invalid_operation("your Xt library sucks too much to transfer this "
+			"much data!");
+#else
       /* Send an INCR selection. */
       int prop_id;
       Widget widget = FRAME_X_TEXT_WIDGET (XFRAME(DEVICE_SELECTED_FRAME(d)));
@@ -594,6 +598,7 @@
       }
       XChangeProperty (display, window, reply.property, type, format,
 		       PropModeReplace, data, 0);
+#endif /* HAVE_XTREGISTERDRAWABLE */
     }
 }