diff options
Diffstat (limited to 'selection.c')
-rw-r--r-- | selection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selection.c b/selection.c index cab8866..97730a3 100644 --- a/selection.c +++ b/selection.c @@ -39,9 +39,9 @@ groupWindowInRegion (CompWindow *w, BOX *box; buf = XCreateRegion (); - if (!buf) { + if (!buf) return FALSE; - } + XIntersectRegion (w->region, src, buf); /* buf area */ |