diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index 783d3ef0f..403324b5f 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -295,7 +295,14 @@ Inspector.prototype = { let target = global.stage.get_actor_at_pos(Clutter.PickMode.ALL, stageX, stageY); - displayText.text = ' ' + target; + let id, style_class; + if (target instanceof St.Widget) { + id = target.get_theme_node().get_element_id(); + style_class = target.get_theme_node().get_element_class(); + } + let position = ''; + let style = '