summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 225bffd2..f45374f7 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -9220,19 +9220,6 @@ meta_window_update_shape_region (MetaWindow *window)
return;
}
- if (shape_region != None)
- {
- XserverRegion tmp;
-
- tmp = XFixesCreateRegion (xdisplay, &(XRectangle) {
- .width = window->rect.width,
- .height = window->rect.height
- }, 1);
-
- XFixesIntersectRegion (xdisplay, shape_region, shape_region, tmp);
- XFixesDestroyRegion (xdisplay, tmp);
- }
-
if (window->shape_region != None)
XFixesDestroyRegion (xdisplay, window->shape_region);
window->shape_region = shape_region;