focus: fix chat
The ring ID label behind was receiving click events instead of the chat field.
This fix moves the ring ID label to prevent interference with on-top ui,
and gives focus to the chat field automatically when uncollapsing the chat
view.
Issue: #78879
Change-Id: Ib46dd3054978f295d8b63c8f28a056533e027145
diff --git a/src/CurrentCallVC.mm b/src/CurrentCallVC.mm
index 1c37d9a..d4e7026 100644
--- a/src/CurrentCallVC.mm
+++ b/src/CurrentCallVC.mm
@@ -46,6 +46,7 @@
#import "views/ITProgressIndicator.h"
#import "views/CallView.h"
#import "PersonLinkerVC.h"
+#import "ChatVC.h"
@interface RendererConnectionsHolder : NSObject
@@ -80,6 +81,7 @@
@property (strong) IBOutlet NSPopover *qualityPopOver;
@property (strong) NSPopover* addToContactPopover;
+@property (strong) IBOutlet ChatVC *chatVC;
@property QHash<int, NSButton*> actionHash;
@@ -531,6 +533,8 @@
[left setFrameSize:leftFrame.size];
[right setFrame:rightFrame];
[splitView display];
+
+ [self.chatVC takeFocus];
}