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