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

vsync: choose vsync method automatically #130

Merged
merged 1 commit into from
Mar 10, 2019
Merged

vsync: choose vsync method automatically #130

merged 1 commit into from
Mar 10, 2019

Conversation

yshui
Copy link
Owner

@yshui yshui commented Mar 10, 2019

Choose the best vsync method for the user, instead of asking them to
frustratingly try every one of the options to see what works.

With this commit, the vsync option will take only a boolean value.

Signed-off-by: Yuxuan Shui yshuiv7@gmail.com

Choose the best vsync method for the user, instead of asking them to
frustratingly try every one of the options to see what works.

With this commit, the `vsync` option will take only a boolean value.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
@yshui yshui changed the title vsync: choose vsync automatically vsync: choose vsync method automatically Mar 10, 2019
@yshui yshui merged commit 8c1f3bf into next Mar 10, 2019
@yshui yshui deleted the vsync branch March 10, 2019 15:02
JohnAZoidberg added a commit to JohnAZoidberg/nixpkgs that referenced this pull request May 18, 2019
vsync is now a boolean option, see:
yshui/picom#130

menu-opacity is deprecated and there's a warning that says:
Please use the wintype option `opacity` of `popup_menu` and
`dropdown_menu` instead.
}
#endif
#ifdef CONFIG_VSYNC_DRM
log_warn("The DRM vsync method is deprecated, please don't enable it.");

Choose a reason for hiding this comment

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

This warning is always shown, even when vsync is disabled. Is that on purpose?
I think with the new boolean option these warning don't need to be shown.

Copy link
Owner Author

Choose a reason for hiding this comment

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

This is intentional, users shouldn't enable the DRM vsync method (which is a build time option) unless there is really good reason.

pull bot pushed a commit to milibopp/nixpkgs that referenced this pull request May 28, 2019
* compton-git: 5.1-rc2 -> 6.2

vsync is now a boolean option, see:
yshui/picom#130

menu-opacity is deprecated and there's a warning that says:
Please use the wintype option `opacity` of `popup_menu` and
`dropdown_menu` instead.

* nixos/compton: Keep vSync option backwards compatible

The new upstream option tries to make the best choice for the user.
Therefore the behaviour should stay the same with this backwards
compatibility patch.

* compton-git: Remove DRM option

It's deprecated and shouldn't be used.
https://github.com/yshui/compton/pull/130/files#r285505456

* compton-git: Remove new_backends option

Was removed in "Let old/new backends co-exist"
b0c5db9f5aa500dc3568cc6fe68493df98794d4d

* compton: 0.1_beta2.5 -> 6.2

Drop the legacy, unmaintained version and use the fork for real.
This pull request was closed.
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.

2 participants