#!/bin/sh

if [ "$1" = "" ]; then
        VAL="1"
else
        VAL="$1"
fi

if [ -x /usr/bin/xprop ]; then
        xprop -root -f _GRAB_STATUS 32c -set _GRAB_STATUS ${VAL} &
fi
