(xft_render): Cancel previous change.
authorhanda <handa>
Tue, 8 Nov 2005 08:01:14 +0000 (08:01 +0000)
committerhanda <handa>
Tue, 8 Nov 2005 08:01:14 +0000 (08:01 +0000)
src/m17n-X.c

index ad77bc2..1f41be3 100644 (file)
@@ -1246,8 +1246,7 @@ xft_render (MDrawWindow win, int x, int y,
        }
     }
 
-  if (XftDrawDrawable (xft_draw) != (Drawable) win)
-    XftDrawChange (xft_draw, (Drawable) win);
+  XftDrawChange (xft_draw, (Drawable) win);
   XftDrawSetClip (xft_draw, (Region) region);
       
   y -= rfont->baseline_offset;