<div dir="ltr">There will be no such logic to find out if a windows is the "main". The concept doesn't exist in the Windows API, and thus trying to add such a concept will likely cause all sorts of problems. <br><br>If a program has such an internal concept, great! But Wine nor the X desktop will know this, since there simply isn't any reliable mechanism to determine this. You could add per-application hacks, but 1. that's not the goal of the Wine project and 2. this would be an extreme amount of work (years) for very little end-user benefit, while also risking breaking applications.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">--</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Kirn Gill II</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Mobile (SMS only):<a href="tel:+18133308354" target="_blank"> <font color="#1155cc">+1 813-330-8354</font></a><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">VoIP: <a><span style="color:rgb(11,83,148)"><span style="background-color:rgb(255,255,255)">+1 813-704-0420</span></span><br></a></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">BBM: <span style="color:rgb(11,83,148)"><a>7B963E04</a></span><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email: <a href="mailto:segin2005@gmail.com" style="color:rgb(17,85,204)" target="_blank">segin2005@gmail.com</a></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">LinkedIn: <a href="http://www.linkedin.com/pub/kirn-gill/32/49a/9a6" style="color:rgb(17,85,204)" target="_blank">http://www.linkedin.com/pub/kirn-gill/32/49a/9a6</a></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Oct 10, 2016 at 1:20 PM, A B <span dir="ltr"><<a href="mailto:dianaxxyyzz@gmail.com" target="_blank">dianaxxyyzz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thinking from wine perspective , what will be the logic to find out if a
 hwnd is for the main window of a program ?<br><div class="gmail_extra"><br><br></div></div>
<br><br>
<br></blockquote></div><br></div>