diff options
Diffstat (limited to 'src/gs-grab-x11.c')
-rw-r--r-- | src/gs-grab-x11.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gs-grab-x11.c b/src/gs-grab-x11.c index 689c519..733a01f 100644 --- a/src/gs-grab-x11.c +++ b/src/gs-grab-x11.c @@ -1,6 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2004-2006 William Jon McCann <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -148,8 +149,8 @@ gs_grab_get (GSGrab *grab, (gpointer *) &grab->priv->grab_window); grab->priv->grab_display = display; - grab->priv->no_pointer_grab = no_pointer_grab; - grab->priv->hide_cursor = hide_cursor; + grab->priv->no_pointer_grab = (no_pointer_grab != FALSE); + grab->priv->hide_cursor = (hide_cursor != FALSE); } g_object_unref (G_OBJECT (cursor)); |