From 871049b9f2523d656c95390e4d0ec37aab828e09 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 22 Aug 2011 22:48:30 +0200 Subject: [PATCH] xrandr-indicator: don't reference a non existing property I was planning to add global.stage_xwindow, back when this was written for core. Then this became an extension, but the reference staid there. We could use clutter_x11_get_stage_window(), if that wasn't marked (skip). For now, let's just 0 (it is correct anyway, as we want the dialog to be system modal) --- extensions/xrandr-indicator/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/xrandr-indicator/extension.js b/extensions/xrandr-indicator/extension.js index d8b2bf8a..9e83fad5 100644 --- a/extensions/xrandr-indicator/extension.js +++ b/extensions/xrandr-indicator/extension.js @@ -102,7 +102,7 @@ Indicator.prototype = { output.set_rotation(bitmask); try { config.save(); - this._proxy.ApplyConfigurationRemote(global.stage_xwindow, event.get_time()); + this._proxy.ApplyConfigurationRemote(0, event.get_time()); } catch (e) { log ('Could not save monitor configuration: ' + e); }