diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2007-12-12 12:33:47 +0100 |
---|---|---|
committer | Kristian Lyngstol <kristian@windu.lyngstol.net> | 2007-12-12 12:33:47 +0100 |
commit | b982d3af31495b5b51493f45dfdb6c31b91a91bc (patch) | |
tree | 0324a53c13d77e4ac7d58a8cf0e144bacb4dd7a9 /shelf.c | |
parent | 959d071da4d1cc04666196bde8ad0f5fb143a366 (diff) | |
download | shelf-b982d3af31495b5b51493f45dfdb6c31b91a91bc.tar.gz shelf-b982d3af31495b5b51493f45dfdb6c31b91a91bc.tar.bz2 |
Shape a frame window too
Fixes an issue where the frame still had input outside the visible area.
Diffstat (limited to 'shelf.c')
-rw-r--r-- | shelf.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |