https://bugs.kde.org/show_bug.cgi?id=399234

--- Comment #13 from Zebediah Figura <z.figur...@gmail.com> ---
(In reply to Konrad Materka from comment #12)
> 1. Kai Uwe Broulik was right:
> << It seems Wine staging sets a window mask on the SNI depending on the
> icon. Since the icon is a circle, our emulated mouse click at the top left
> of the window ends up "clicking through".>>
> 
> He is right. In the file sniproxy.cpp
> (https://github.com/KDE/plasma-workspace/blob/master/xembed-sni-proxy/
> sniproxy.cpp), whhen I added:
>   configVals[0] -= clientGeom->width / 2;
>   configVals[1] -= clientGeom->height / 2;
> before line 491:
>   xcb_configure_window(c, m_containerWid, XCB_CONFIG_WINDOW_X |
> XCB_CONFIG_WINDOW_Y, configVals);
> context menu appeared. Now it clicks in the middle of the tray icon limiting
> a problem of transparent icons.

Not that I've touched KDE, ever, or know anything about these components, but
it strikes me as the sort of thing where that kind of mouse click shouldn't be
emulated at all, at least, not if the icon mask can't be depended on to cover
the top left pixel (or, indeed, any given pixel).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to