From 3088879a7b35fede494ca3a8b961a0142f36593a Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 7 Feb 2022 22:09:51 +0100 Subject: Various call fixes - Use groupchat message type for invites in MUCs - Use call id (from propose) instead of message id for Call Invite Messages - Fix call window controlls appearing when hovering controls --- main/src/ui/call_window/call_window.vala | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'main/src/ui/call_window') diff --git a/main/src/ui/call_window/call_window.vala b/main/src/ui/call_window/call_window.vala index cd490bf9..cf9ca0e6 100644 --- a/main/src/ui/call_window/call_window.vala +++ b/main/src/ui/call_window/call_window.vala @@ -13,7 +13,6 @@ namespace Dino.Ui { public Overlay overlay = new Overlay() { visible=true }; public Grid grid = new Grid() { visible=true }; - public EventBox event_box = new EventBox() { visible=true }; public CallBottomBar bottom_bar = new CallBottomBar() { visible=true }; public Revealer bottom_bar_revealer = new Revealer() { valign=Align.END, transition_type=RevealerTransitionType.CROSSFADE, transition_duration=200, visible=true }; public HeaderBar header_bar = new HeaderBar() { valign=Align.START, halign=Align.END, show_close_button=true, visible=true }; @@ -50,8 +49,7 @@ namespace Dino.Ui { overlay.add_overlay(invite_button_revealer); overlay.get_child_position.connect(on_get_child_position); - event_box.add(overlay); - add(event_box); + add(overlay); } public CallWindow() { @@ -59,9 +57,9 @@ namespace Dino.Ui { this.bind_property("controls-active", header_bar_revealer, "reveal-child", BindingFlags.SYNC_CREATE); this.bind_property("controls-active", invite_button_revealer, "reveal-child", BindingFlags.SYNC_CREATE); - event_box.motion_notify_event.connect(reveal_control_elements); - event_box.enter_notify_event.connect(reveal_control_elements); - event_box.leave_notify_event.connect(reveal_control_elements); + this.motion_notify_event.connect(reveal_control_elements); + this.enter_notify_event.connect(reveal_control_elements); + this.leave_notify_event.connect(reveal_control_elements); this.configure_event.connect(reveal_control_elements); // upon resizing this.configure_event.connect(reposition_participant_widgets); -- cgit v1.2.3-54-g00ecf