From 8d617166feaf7afb04f3dbf2d41b64f5233976ed Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 16 Feb 2015 16:56:05 +0100 Subject: [PATCH] screencast: Make it possible to disable draw-cursor drawing cursor is on by default, so the code: if (options['draw-cursor']) recorder.set_draw_cursor(options['draw-cursor']); never lets you unset it. Fix is to use 'draw-cursor' in options instead. https://bugzilla.gnome.org/show_bug.cgi?id=744599 --- js/ui/screencast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/screencast.js b/js/ui/screencast.js index dd78d39f7..bbda5fc5c 100644 --- a/js/ui/screencast.js +++ b/js/ui/screencast.js @@ -99,7 +99,7 @@ const ScreencastService = new Lang.Class({ recorder.set_pipeline(options['pipeline']); if (options['framerate']) recorder.set_framerate(options['framerate']); - if (options['draw-cursor']) + if ('draw-cursor' in options) recorder.set_draw_cursor(options['draw-cursor']); },