Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: examples wlr-randr scale not work #470

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zorowk
Copy link
Contributor

@zorowk zorowk commented Aug 22, 2024

drm is pending, commit will fail, set scale to become invalid. do not commit and wait until the next frame to complete the scaling settings.

@wineee
Copy link
Member

wineee commented Aug 22, 2024

WOutputManagerV1 has move to cpp impl, why qml not delete this?

drm is pending, commit will fail, set scale to become
invalid. do not commit and wait until the next frame to
complete the scaling settings.

Signed-off-by: pengwenhao <[email protected]>
@zorowk
Copy link
Contributor Author

zorowk commented Aug 25, 2024

WOutputManagerV1 has move to cpp impl, why qml not delete this?

done

@@ -264,8 +264,6 @@ void Helper::initProtocols(WOutputRenderWindow *window, QQmlEngine *qmlEngine)

if (onlyTest)
ok &= output->test();
else
ok &= output->commit();
}
m_wOutputManager->sendResult(config, ok);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should send result in next commit

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@@ -264,8 +264,6 @@ void Helper::initProtocols(WOutputRenderWindow *window, QQmlEngine *qmlEngine)

if (onlyTest)
ok &= output->test();
else
ok &= output->commit();
}
m_wOutputManager->sendResult(config, ok);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@wineee
Copy link
Member

wineee commented Sep 20, 2024

Should not work without #508

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants