summaryrefslogtreecommitdiff
path: root/plugins/move/src/move.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/move/src/move.cpp')
-rw-r--r--plugins/move/src/move.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/move/src/move.cpp b/plugins/move/src/move.cpp
index 42813f1..77556a5 100644
--- a/plugins/move/src/move.cpp
+++ b/plugins/move/src/move.cpp
@@ -65,7 +65,7 @@ moveInitiate (CompAction *action,
button = CompOption::getIntOptionNamed (options, "button", -1);
- if (s->otherGrabExist ("move", 0))
+ if (s->otherGrabExist ("move", NULL))
return false;
if (ms->w)
@@ -397,7 +397,7 @@ moveHandleMotionEvent (CompScreen *s,
{
if (abs (yRoot - workArea.y () - ms->snapOffY) >= SNAP_OFF)
{
- if (!s->otherGrabExist ("move", 0))
+ if (!s->otherGrabExist ("move", NULL))
{
int width = w->serverGeometry ().width ();
@@ -423,7 +423,7 @@ moveHandleMotionEvent (CompScreen *s,
{
if (abs (yRoot - workArea.y () - ms->snapBackY) < SNAP_BACK)
{
- if (!s->otherGrabExist ("move", 0))
+ if (!s->otherGrabExist ("move", NULL))
{
int wy;