Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Improved autoselection of method#63

Closed
maandree wants to merge 27 commits intosharpbracket:masterfrom
maandree:auto-method
Closed

Improved autoselection of method#63
maandree wants to merge 27 commits intosharpbracket:masterfrom
maandree:auto-method

Conversation

@maandree
Copy link
Copy Markdown
Contributor

In this patch I have done two things and it is possible to omit any one of the.

  • Enable autoselection of the DRM method if neither RandR or VidMode is available.
  • Check environment variables if it is safe to use the method despite not being flagged for it.
    DRM will be used if running in neither of X and Wayland (I do not know how to check Mir
    so you have not added that,) the patterns of the values in the environment variables are not
    sanity checked only existance and non-emptyness is checked. Similarly RandR and VidMode
    check if running in X, however because both are flagged for autostart, neither will actually do
    this check.

There is also a third commit that removes the first commit, it entirely removes the autostart
flag and forces use of the adjustments methods' functions to check whether they can autostart.

maandree added 27 commits May 12, 2014 04:46
…iling C files) to .gitignore

Signed-off-by: Mattias Andrée <maandree@operamail.com>
…i method under X by (sloopyly) translating the calls to RandR calls

Signed-off-by: Mattias Andrée <maandree@operamail.com>
…ons when all monitors can have individual gamma corrections, remove it

Signed-off-by: Mattias Andrée <maandree@operamail.com>
… that it can be accessed from elsewhere, and make the compile-time configurable

Signed-off-by: Mattias Andrée <maandree@operamail.com>
…, and make elevation constants compile-time configurable

Signed-off-by: Mattias Andrée <maandree@operamail.com>
…nd -m

Signed-off-by: Mattias Andrée <maandree@operamail.com>
…fill for using it

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
…lay) that has a matching name

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
…unction

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
…name

Signed-off-by: Mattias Andrée <maandree@operamail.com>
…gamma-common.

When compiling, disable all other methods until they too have been rewritten to
use gamma-common.

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Signed-off-by: Mattias Andrée <maandree@operamail.com>
@jonls
Copy link
Copy Markdown
Collaborator

jonls commented Dec 7, 2014

Again, this pull request does too much. In the first few commits I see fake-w32gdi which is not a feature that should be necessary for this pull request. Closing for now.

@jonls jonls closed this Dec 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants