<table><tr><td style="">gleichdick added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27908">View Revision</a></tr></table><br /><div><div><p>Thank you for this patch, I tested it on my 2017 ThinkPad X1 Yoga with openSuSE Tumbleweed (KWin 5.19, Kernel 5.8.4-1) and it works like a charm.<br />
For enabling the monitor, I used QDBusViewer and called <tt style="background: #ebebeb; font-size: 13px;">setCompositorBrightnessOutputNames()</tt> with <tt style="background: #ebebeb; font-size: 13px;">eDP-1</tt> manually.<br />
Night mode also works out of the box. I'd love to see it upstream :)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27908">https://phabricator.kde.org/D27908</a></div></div><br /><div><strong>To: </strong>jackoalan, KWin<br /><strong>Cc: </strong>gleichdick, zzag, romangg, kwin, KWin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>