3 ms·
Needs to be implemented in each compositor, like most other missing details on Wayland.
by srslack 10y ago
Needs to be implemented in each compositor, like most other missing details on Wayland.
- vertex-four 10y agoActually... Wayland fully supports transparent windows assuming you have a buffer with alpha transparency, and windows have no decoration by default. It would take a very small protocol extension to allow overlay windows which don't accept input of their own, allowing for Redshift (and other tinting tools, such as those for dyslexia) to implement such an extension without embedding it into a compositor. Wayland has a process for standardising extensions - write the XML file defining it and send an email to the mailing list, then respond to questions - if developers cared about Wayland, they could do it.
- sunnyps 10y agoRedshift (or flux) doesn't work that way. It adjusts the monitor's color temperature using XRandR.
- vertex-four 10y agoAlright, though my latter point stands - standardising an extension for setting colour temperature would not be terribly difficult. You could look to libcoopgamma for ideas on managing multiple clients trying to change things at once, or write a simpler protocol that only allows one client to change things. At the very least, an unstable protocol definition and a patch for Weston would be a lot more than what we have now, and doesn't require Redshift to be cloned for each Wayland server.