summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shelf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shelf.c b/shelf.c
index bcfdc52..745f320 100644
--- a/shelf.c
+++ b/shelf.c
@@ -69,6 +69,9 @@ shelfShapeInput (CompWindow *w)
XShapeSelectInput (w->screen->display->display, w->id, NoEventMask);
XShapeCombineRectangles (w->screen->display->display, w->id,
ShapeInput, 0, 0, &rect, 1, ShapeSet, 0);
+ if (w->frame)
+ XShapeCombineRectangles (w->screen->display->display, w->frame,
+ ShapeInput, 0, 0, &rect, 1, ShapeSet, 0);
XShapeSelectInput (w->screen->display->display, w->id, ShapeNotify);
}
/* Binding for toggle mode.