summaryrefslogtreecommitdiff
path: root/src/gs-grab-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-grab-x11.c')
-rw-r--r--src/gs-grab-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gs-grab-x11.c b/src/gs-grab-x11.c
index cef6b15..733a01f 100644
--- a/src/gs-grab-x11.c
+++ b/src/gs-grab-x11.c
@@ -149,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));