I get a lot of errors like "window # belongs to another process" when running more than one app at a time under Wine, mostly when focus changes from one window to another. The bulk of them are coming from query_zorder in dlls/x11drv/winpos.c. If I understand the code correctly, the error is indeed harmless in this case, so I created a simple patch to prevent it. The patch calls the lower-level WIN_GetPtr rather than WIN_FindWndPtr. Changelog Paul Rupe <prupe@nc.rr.com> Prevent "window belongs to another process" errors when running multiple programs simultaneously. -- Paul Rupe "She smiled, in the end." p r u p e @ n c . r r . c o m begin 644 zorder.dff M26YD97@Z(&1L;',O>#$Q9')V+W=I;G!O<RYC"CT]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T*4D-3(&9I;&4Z("]H;VUE+W=I;F4O=VEN92]D;&QS+W@Q,61R=B]W M:6YP;W,N8RQV"G)E=')I979I;F<@<F5V:7-I;VX@,2XS-`ID:69F("UU("UR M,2XS-"!W:6YP;W,N8PHM+2T@9&QL<R]X,3%D<G8O=VEN<&]S+F,),C`P,2\Q M,2\Q,R`R,CHP,CHR,`DQ+C,T"BLK*R!D;&QS+W@Q,61R=B]W:6YP;W,N8PDR M,#`Q+S$R+S$T(#`T.C0U.C`Y"D!`("TQ-#`V+#<@*S$T,#8L,3`@0$`*("`@ M("!I9B`H(6QI<W0I(')E='5R;B`P.PH@("`@(&9O<B`H:2`](#`[(&QI<W1; M:5T[(&DK*RD*("`@("!["BT@("`@("`@(&EF("@A*'=I;B`](%=)3E]&:6YD M5VYD4'1R*"!L:7-T6VE=("DI*2!C;VYT:6YU93L**R`@("`@("`@=VEN(#T@ M5TE.7T=E=%!T<B@@;&ES=%MI72`I.PHK("`@("`@("!I9B`H(7=I;B!\?"!W M:6X@/3T@5TY$7T]42$527U!23T-%4U,I"BL@("`@("`@("`@("!C;VYT:6YU M93L**R`@("`@("`@=VEN+3YI<F5F0V]U;G0K*SL*("`@("`@("`@:68@*"AW M:6XM/F1W17A3='EL92`F(%=37T587TU!3D%'140I("8F("AW:6XM/F1W4W1Y M;&4@)B!74U]625-)0DQ%*2D*("`@("`@("`@>PH@("`@("`@("`@("`@:68@ :*"%H=VYD02D@:'=N9$$@/2!L:7-T6VE=.PH! ` end