aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c
diff options
context:
space:
mode:
authorxcomputerman <xcomputerman>2006-05-19 15:02:54 +0000
committerxcomputerman <xcomputerman@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-05-19 15:02:54 +0000
commitf9ed2372886638a0cff0cb1c5f2356128cdef11a (patch)
tree2fe443240ce795e30e73851ab6b382da8dc9a103 /legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c
parentOops. I was up too late last night. Caught a couple of critters too. (diff)
downloadefl-f9ed2372886638a0cff0cb1c5f2356128cdef11a.tar.gz
Round out support for XserverRegion.
SVN revision: 22743
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c')
-rw-r--r--legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c b/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c
index 38231c9746..421d703b5c 100644
--- a/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c
+++ b/legacy/ecore/src/lib/ecore_x/ecore_x_fixes.c
@@ -236,4 +236,27 @@ ecore_x_region_expand(Ecore_X_Region dest, Ecore_X_Region source, unsigned int l
#endif
}
+EAPI void
+ecore_x_region_gc_clip_set(Ecore_X_Region region, Ecore_X_GC gc, int x_origin, int y_origin)
+{
+#ifdef ECORE_XFIXES
+ XFixesSetGCClipRegion(_ecore_x_disp, gc, x_origin, y_origin, region);
+#endif
+}
+
+EAPI void
+ecore_x_region_window_shape_set(Ecore_X_Region region, Ecore_X_Window win, Ecore_X_Shape_Type type, int x_offset, int y_offset)
+{
+#ifdef ECORE_XFIXES
+ XFixesSetWindowShapeRegion(_ecore_x_disp, win, type, x_offset, y_offset, region);
+#endif
+}
+
+EAPI void
+ecore_x_region_picture_clip_set(Ecore_X_Region region, Ecore_X_Picture picture, int x_origin, int y_origin)
+{
+#ifdef ECORE_XFIXES
+ XFixesSetPictureClipRegion(_ecore_x_disp, picture, x_origin, y_origin, region);
+#endif
+}