D22053: [libtaskmanager] Track stacking order and window activation (on X11)

2019-11-25 Thread Eike Hein
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit R120:c0acd1434147: [libtaskmanager] Track stacking order and window activation (on X11) (authored by hein). REPOSITORY

D22053: [libtaskmanager] Track stacking order and window activation (on X11)

2019-08-14 Thread David Edmundson
davidedmundson added a comment. One minor comment, and anthonyfieroni's comment, and this is good to go. INLINE COMMENTS > xwindowtasksmodel.cpp:203 > +cachedStackingOrder = KWindowSystem::stackingOrder(); > +q->dataChanged(q->index(0, 0), q->index(q->rowCount() - 1,

D22053: [libtaskmanager] Track stacking order and window activation (on X11)

2019-06-26 Thread Pino Toscano
pino added inline comments. INLINE COMMENTS > anthonyfieroni wrote in xwindowtasksmodel.cpp:673-675 > That's double lookup in intensive called function, what about > > int idx = d->lastActivated.indexOf(window); > if (idx >= 0) >return d->lastActivated.at(idx); @anthonyfieroni

D22053: [libtaskmanager] Track stacking order and window activation (on X11)

2019-06-26 Thread Anthony Fieroni
anthonyfieroni added inline comments. INLINE COMMENTS > xwindowtasksmodel.cpp:673-675 > +if (d->lastActivated.contains(window)) { > +return d->lastActivated.value(window); > +} That's double lookup in intensive called function, what about int idx =

D22053: [libtaskmanager] Track stacking order and window activation (on X11)

2019-06-23 Thread Eike Hein
hein created this revision. hein added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. hein requested review of this revision. REVISION SUMMARY `TaskGroupingProxyModel::requestToggleMaximized` now uses this to minimize and restore groups of windows