<div><div><span style="line-height: 1.5;">Dear Alexandre, </span></div><div><span style="line-height: 1.5;">I'm debugging a window set focus problem on Deepin Linux(www.deepin.org),</span></div><div>I found some hints in handle_wm_protocols function of winex11.drv.</div><div>But <span style="line-height: 1.5;">I feel very strange, I</span><span style="line-height: 1.5;"> don't find where generate the XClientMessageEvent with event.data.l[0] =</span></div><div>x11drv_atom(<span style="line-height: 1.5;">WM_TAKE_FOCUS</span><span style="line-height: 1.5;">) when I git grep WM_TAKE_FOCUS in wine source directory.</span></div><div><br></div><div>How X11 server generate XClientMessageEvent with <span style="line-height: 1.5;">event.type = x11drv_atom(WM_PROTOCOLS) </span></div><div><span style="line-height: 1.5;">and event.data.l[0] = x11drv_atom(WM_TAKE_FOCUS) ?</span></div><div style="line-height: 21px;"><br></div><div>Thank you!</div></div><div><br></div><div><br></div><div><sign signid="0"><div style="color:#909090;font-family:Arial Narrow;font-size:12px"><br><br><br><br>------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div>Regards,</div><div>Changhui Liu</div>
</div></sign></div><div><qzone></qzone></div><div> </div><div><includetail><!--<![endif]--></includetail></div>