 retrieving revision 1.28
 diff -u -r1.28 x11.c
 --- x11.c	15 Apr 2008 23:24:04 -0000	1.28
-+++ x11.c	13 Mar 2013 14:27:56 -0000
++++ x11.c	14 Mar 2013 18:45:12 -0000
 @@ -194,7 +194,7 @@
      QEStyleDef default_style;
      XGCValues gc_val;

+static void haiku_set_clip(QEditScreen *s,
+                         int x, int y, int w, int h)
+{
+	WindowState *ctx = (WindowState *)s->priv_data;
+	//fprintf(stderr, "%s(,%d, %d, %d, %d)\n", __FUNCTION__, x, y, w, h);
+
+    BRegion clip(BRect(x, y, x + w - 1, y + h - 1));
+
+	ctx->v->LockLooper();
+
+	ctx->v->ConstrainClippingRegion(&clip);
+
+	ctx->v->UnlockLooper();
+}
+
+extern QEDisplay haiku_dpy = {

retrieving revision 1.15
diff -u -r1.15 configure
--- configure	17 Apr 2008 15:06:44 -0000	1.15
+++ configure	14 Mar 2013 18:45:07 -0000
@@ -45,9 +45,11 @@
 ptsname="yes"
 gprof="no"
