On May 11, 2017, at 6:15 AM, Stefan Dösinger stefan@codeweavers.com wrote:
Signed-off-by: Stefan Dösinger stefan@codeweavers.com
I am not sure how to handle NOTIFY_VERSION_4. The click events do not contain a coordinate and I don't know how to read the position of the icon. The first issue is probably trivial to handle by assuming a fixed coordinate because the icon isn't all that big anyway. The latter is a larger problem because a wrong coordinate could cause an app to show a popup in the wrong place. Also on dual screen setups there are two copies of the status bar and two icon copies. Pick the wrong one and things go bad as well.
Thanks. I've sent a modified version that properly handles version 4. The internal events that you were looking at didn't contain the position, but can be made to. :)
-Ken