|
GickerLDS Newbie
Joined: 02 Dec 2016 Posts: 3 Location: Halifax, Canada
|
Posted: Tue Apr 25, 2017 8:33 pm
MXP Controlled Chat Window Focus |
Hi guys,
I have a chat window in CMUD that is shared among different MUDs. Each MUD outputs chat text to the "Comm" window via MXP. The issue I'm having is that when I am in a different MUD tab, and I get chat output in the Comm window, it switches focus over to that tab, often cutting me off in the middle of typing something.
Is there a workaround for this so that it doesn't change focus when you receive new chat input?
Thanks!
Gicker
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri Apr 28, 2017 5:47 am |
Can you show us the commands you are using to send text over to the shared window?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Sun Apr 30, 2017 5:20 am |
You probably need to disable the "Automatically bring to front window with activity" option in the window preferences.
|
|
|
|
GickerLDS Newbie
Joined: 02 Dec 2016 Posts: 3 Location: Halifax, Canada
|
Posted: Thu May 04, 2017 1:14 am |
Thanks for the responses guys.
The 'automatically bring to front window with activity' option is unchecked.
It's using MXP built into the MUD code using the DEST tag.
Eg.
Code: |
send_to_char(ch, "<DEST Comm>");
send_to_char(ch, "Some chat text.");
send_to_char(ch, "</DEST>");
|
|
|
|
|
|
|