summaryrefslogtreecommitdiff
path: root/plugins/zoom
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/zoom')
-rw-r--r--plugins/zoom/src/zoom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/zoom/src/zoom.cpp b/plugins/zoom/src/zoom.cpp
index 87fa9cf..290af37 100644
--- a/plugins/zoom/src/zoom.cpp
+++ b/plugins/zoom/src/zoom.cpp
@@ -394,7 +394,7 @@ zoomInitiate (CompAction *action,
ZOOM_SCREEN (screen);
- if (screen->otherGrabExist ("zoom", 0))
+ if (screen->otherGrabExist ("zoom", NULL))
return false;
if (!zs->grabIndex)
@@ -529,7 +529,7 @@ zoomInitiatePan (CompAction *action,
if (!(zs->zoomed & (1 << output)))
return false;
- if (screen->otherGrabExist ("zoom", 0))
+ if (screen->otherGrabExist ("zoom", NULL))
return false;
if (state & CompAction::StateInitButton)