/* Always return FALSE because its not interactive */
static gboolean run_func_toggle(ObActionsData *data, gpointer options)
{
- if (data->client) {
+ if (!actions_client_locked(data)) {
actions_client_move(data, TRUE);
client_set_desktop(data->client,
data->client->desktop == DESKTOP_ALL ?