summaryrefslogtreecommitdiff
path: root/plugins/clone/src/clone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/clone/src/clone.cpp')
-rw-r--r--plugins/clone/src/clone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/clone/src/clone.cpp b/plugins/clone/src/clone.cpp
index 9352a4e..afdd39b 100644
--- a/plugins/clone/src/clone.cpp
+++ b/plugins/clone/src/clone.cpp
@@ -351,7 +351,7 @@ CloneScreen::initiate (CompAction *action,
CompOption::Vector options)
{
std::list <Clone *>::iterator it = clones.begin ();
- if (grab || screen->otherGrabExist ("clone", 0))
+ if (grab || screen->otherGrabExist ("clone", NULL))
return false;
if (!grabHandle)