Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libkscreen
Commits
e40cab07
Commit
e40cab07
authored
Oct 11, 2022
by
Xaver Hugl
Browse files
backends/kwayland: only consider enabled outputs for Xwayland scale
(cherry picked from commit
1dfad6d6
)
parent
00c35605
Pipeline
#246132
passed with stage
in 1 minute and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
backends/kwayland/waylandbackend.cpp
View file @
e40cab07
...
...
@@ -45,7 +45,9 @@ WaylandBackend::WaylandBackend()
qreal
scaleFactor
=
1
;
const
auto
outputs
=
newConfig
->
outputs
();
for
(
auto
output
:
outputs
)
{
scaleFactor
=
std
::
max
(
scaleFactor
,
output
->
scale
());
if
(
output
->
isEnabled
())
{
scaleFactor
=
std
::
max
(
scaleFactor
,
output
->
scale
());
}
}
xwaylandGroup
.
writeEntry
(
"Scale"
,
scaleFactor
,
KConfig
::
Notify
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment