view.windowFrame = is_osx ? #extended : #solid; var body; var connections = []; var show_chat = false; var show_elevation = true; var is_privacy_mode_supported = handler.get_supported_privacy_mode_impls() != '[]'; var allow_perm_change_in_accept_window = handler.get_builtin_option('enable-perm-change-in-accept-window') != 'N'; var svg_elevate = ; var hide_cm = undefined; function setWindowState(state) { if (hide_cm == undefined) hide_cm = handler.hide_cm(); if (hide_cm) return; view.windowState = state; } class Body: Reactor.Component { this var cur = 0; function this() { body = this; } function render() { if (connections.length == 0) return