D22767: Calculate first clickable point, from the top-left

2019-08-28 Thread David Edmundson
This revision was automatically updated to reflect the committed changes. Closed by commit R120:989a7759a969: Calculate first clickable point, from the top-left (authored by kmaterka, committed by davidedmundson). REPOSITORY R120 Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator

D22767: Calculate first clickable point, from the top-left

2019-08-05 Thread Konrad Materka
kmaterka removed a reviewer: Plasma: Workspaces. kmaterka added inline comments. INLINE COMMENTS > davidedmundson wrote in sniproxy.cpp:576 > This point was marked as closed, but not changed. Probably my fault for not > expanding. > > We move the window so that it's at x-clickPoint > The relat

D22767: Calculate first clickable point, from the top-left

2019-07-29 Thread David Edmundson
davidedmundson added inline comments. INLINE COMMENTS > sniproxy.cpp:576 > event->root = QX11Info::appRootWindow(); > event->root_x = x; > event->root_y = y; This point was marked as closed, but not changed. Probably my fault for not expanding. We move the window so

D22767: Calculate first clickable point, from the top-left

2019-07-29 Thread Konrad Materka
kmaterka updated this revision to Diff 62723. kmaterka marked 3 inline comments as done. kmaterka added a comment. Review changes. Call to the calculateClickPoint is local and on only on mouse click, not on every icon update. CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D22767?vs=6

D22767: Calculate first clickable point, from the top-left

2019-07-29 Thread David Edmundson
davidedmundson added a comment. Thanks for doing some work on xembedsniproxy! INLINE COMMENTS > sniproxy.cpp:239 > > +calculateClickPoint(image); > + This is quite expensive to do every frame (some animate), I think we can do something else, see below. > sniproxy.cpp:530 > else

D22767: Calculate first clickable point, from the top-left

2019-07-26 Thread Konrad Materka
kmaterka created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. kmaterka requested review of this revision. REVISION SUMMARY Wine is using XWindow Shape Extension for transparent tray icons. We need to find first clickable point starting from top-left.