D18810: [platforms/hwcomposer] Add scaling support
Roman Gilg <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
romangg added a comment. In D18810#407892 <https://phabricator.kde.org/D18810#407892>, @davidedmundson wrote: > I can do, but I'll explain my rationale for this first. > > When running nested it tends to be the user typing "kwin_wayland --scale" directly into a terminal. > On deployment it's hidden behind the startplasmamobile script. That makes sense. But I would still prefer only one way to manually set scale in KWin on startup. In light of D18465 <https://phabricator.kde.org/D18465> at one point I also want to generalize initial output description to being setup with a list of parameters and reading in config files in json format (and falling back to KScreen config files; that way we wouldn't have ugly mode switches on startup). Because of that having it the same way over all platforms supporting initial output description is advantageous. > I don't want that script to end up forked across devices. > > With this they can just dump a value in /etc/profile.d > I guess I could still use --scale here and then make startplasmamobile use an env > Or there's the option of using a config like DRM does. Reading out the env variable in startplasmamobile sounds fine until we have the initial config file read. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D18810 To: davidedmundson, #kwin, romangg Cc: romangg, nicolasfella, zzag, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart