[Bug 27190] Incorrect focus and Alt+Tab order with Delphi MDI application

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 3 15:23:19 CDT 2011


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

--- Comment #5 from Jarek <jarekczek at poczta.onet.pl> 2011-07-03 15:23:19 CDT ---
I have a dumb fix for the issue.

+all reported:

002c:trace:x11drv:update_net_wm_states setting wm state 4 for unmapped window
0xd019c/2000003

Thus editing dlls/winex11.drv/window.c and update_net_wm_states(), commenting
lines:

    if (!(ex_style & WS_EX_APPWINDOW) && GetWindow( data->hwnd, GW_OWNER ))
        new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);

prevents the skip taskbar flag for the Form1 window. So then both windows are
on a task bar.

I don't know why the window is unmapped and how it should work in a smart way.
That would set skiptaskbar on Project1 and not Form1.

-- 
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