[Bug 5725] Code for undocumented SwitchToThisWindow function does not reflect empirical evidence

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 22 02:27:09 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=5725


Toni Spets <toni.spets at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |toni.spets at gmail.com




--- Comment #44 from Toni Spets <toni.spets at gmail.com>  2008-12-22 02:27:09 ---
Could this bug be related to Worms Armageddon crash in the menus where this
hack fixes the problem for most parts:

diff --git a/server/window.c b/server/window.c
index 3cd767e..1844241 100644
--- a/server/window.c
+++ b/server/window.c
@@ -2310,7 +2310,6 @@ DECL_HANDLER(update_window_zorder)
         if (ptr->win_region && !rect_in_region( ptr->win_region, &req->rect ))
continue;
         /* found a window obscuring the rectangle, now move win above this one
*/
         /* making sure to not violate the topmost rule */
-        if (!(ptr->ex_style & WS_EX_TOPMOST) || (win->ex_style &
WS_EX_TOPMOST))
         {   
             list_remove( &win->entry );
             list_add_before( &ptr->entry, &win->entry );

When clicking a sub menu it supposedly creates a new window and changes window
order to show it.

Could even the failing test cases be related?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list