https://bugs.winehq.org/show_bug.cgi?id=38626
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #5 from Andrew Eikum aeikum@codeweavers.com --- Office creates the right-click menu without the WS_EX_LAYERED style, but then adds this style later when it needs to be made transparent.
With the X11 driver, the X11 window is destroyed and recreated when UpdateLayeredWindow() is called in order to change the visual (set_window_visual). Since the topmost window is destroyed, the window manager sends a focus change notification. This notification works its way up to the Office menu message handler, which destroys the menu because it no longer has focus.