Skip to content

Add extra AUTO options#87

Open
hustlerone wants to merge 3 commits intoWayfireWM:masterfrom
hustlerone:master
Open

Add extra AUTO options#87
hustlerone wants to merge 3 commits intoWayfireWM:masterfrom
hustlerone:master

Conversation

@hustlerone
Copy link

Using the preferred video mode is a nice heuristic. However, some monitors and TV's preferred mode is not up to the user's preference.

This adds two modes, AUTO_HIGHRR and AUTO_HIGHRES.
The former chooses the highest refresh rate first then chooses the highest resolution that satisfies the initial constraint.
The latter just scrapes the barrel with the video modes. It chooses the "biggest" one.

I am not sure if the function wf::output_config::mode_t::mode_t in src/types.cpp needs to be changed.

Copy link
Member

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

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

LGTM!

Now prints git diff
Namely, `MODE_HIGHRR` and `MODE_HIGHRES`. They change the criteria on the "best" monitor mode.
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