D24945: [ksmserver] Signal session management state to kwin directly
David Edmundson
noreply at phabricator.kde.org
Fri Oct 25 17:53:35 BST 2019
davidedmundson added inline comments.
INLINE COMMENTS
> davidedmundson wrote in org.kde.KWin.Session.xml:7
> It also advocates for use of {sv} in your spec which is inherently string based.
>
> I'm happy to use ints, as long as we then don't get into that trap of saying; "now we have an enum to sync in two places, we must create a header file and a dependency "
There was a third option I considered. Have N methods
startSave
startQuit
saveCancelled
and then make the state change an implicit part of the invokable action we need to do on save.
I went this way as I felt it was nice to have this acting more like a property independently, but what do you think.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D24945
To: davidedmundson, #kwin
Cc: apol, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191025/08806588/attachment-0001.html>
More information about the Plasma-devel
mailing list