I'm thinking of creating an alternative to Present Windows and Desktop Grid effects based on QML. For that, it would be interesting to access the Client's stackingOrder in QML. I noticed that in the x11client.h file there is a public method called sessionStackingOrder(), maybe this method could be used to expose the Client's stackingOrder through: Q_PROPERTY (int stackingOrder READ sessionStackingOrder).
Description
Description
Comment Actions
sessionStackingOrder() contains restored stacking order. Could you please explain why you need to have access to the Client's stacking order?
Comment Actions
It would be for the opening and closing animations of the effect, which I think should be as similar as possible to the ones from Present Windows effect. But I think I can get the stacking order through the EffectWindowList stackingOrder() method of the EffectsHandlerImpl class. Anyway, thanks for your explanation.