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
e90d719e
Commit
e90d719e
authored
Jan 28, 2022
by
Vlad Zahorodnii
Browse files
backends/kwayland: Use output name to guess output type
Model doesn't include the connector type.
parent
b7c79872
Pipeline
#129908
passed with stage
in 3 minutes and 7 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
backends/kwayland/waylandoutputdevice.cpp
View file @
e90d719e
...
...
@@ -182,7 +182,7 @@ void WaylandOutputDevice::updateKScreenOutput(OutputPtr &output)
QSize
currentSize
=
m_mode
->
size
();
output
->
setSize
(
output
->
isHorizontal
()
?
currentSize
:
currentSize
.
transposed
());
output
->
setScale
(
m_factor
);
output
->
setType
(
Utils
::
guessOutputType
(
m_
model
,
m_model
));
output
->
setType
(
Utils
::
guessOutputType
(
m_
outputName
,
m_outputName
));
output
->
setCapabilities
(
static_cast
<
Output
::
Capabilities
>
(
static_cast
<
uint32_t
>
(
m_flags
)));
output
->
setOverscan
(
m_overscan
);
output
->
setVrrPolicy
(
static_cast
<
Output
::
VrrPolicy
>
(
m_vrr_policy
));
...
...
Vlad Zahorodnii
@vladz
mentioned in commit
3779c7f5
·
Jan 28, 2022
mentioned in commit
3779c7f5
mentioned in commit 3779c7f528128f7047b7f3c0c2e7f46c1140317e
Toggle commit list
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