fix compilation, remove extra parenthesis
This commit is contained in:
parent
f0f465ccbd
commit
00b285623a
1 changed files with 1 additions and 1 deletions
|
@ -1942,7 +1942,7 @@ void XdgShellClient::updateClientOutputs()
|
|||
QVector<OutputInterface *> clientOutputs;
|
||||
const auto outputs = waylandServer()->display()->outputs();
|
||||
for (const auto output : outputs) {
|
||||
if (output->dpmsMode() == OutputInterface::DpmsMode::On)) {
|
||||
if (output->dpmsMode() == OutputInterface::DpmsMode::On) {
|
||||
const QRect outputGeometry(output->globalPosition(), output->pixelSize() / output->scale());
|
||||
if (frameGeometry().intersects(outputGeometry)) {
|
||||
clientOutputs << output;
|
||||
|
|
Loading…
Reference in a new issue