Cloudef / orbment

Modular Wayland compositor
Other
246 stars 16 forks source link

Don't dim unfocused monitors. #10

Closed Earnestly closed 9 years ago

Earnestly commented 9 years ago

I'm writing this just as a note for others. Currently dimming is hardcoded as a workaround for not having (server-side) client borders.

This means that when watching a video stream or otherwise on a second monitor while working on the main monitor it will be dimmed.

I suggest as a workaround for this to simply not dim any non-focused monitors. The disadvantage of this approach is people won't have dimmed secondary monitors if it was necessary.

Cloudef commented 9 years ago

I made it so that all outputs retain their current active client. I like dimming myself, however this might give a problem with indicating which output is currently active. Might come back to this later, maybe when we draw pixel borders or have bars.

boomshroom commented 9 years ago

My second (and sometimes first if I'm working with the second one) turning also always startles me whenever it happens. Dimming might be a good idea, but currently it puts the entire monitor to sleep until I switch focus.

Cloudef commented 9 years ago

Dimming is not related to sleep. That's DPMS which you can turn off with WLC_IDLE_TIME=0, you can also remove dimming with WLC_DIM=1 see https://github.com/Cloudef/wlc more.