Currently, users can choose "Off" from gnome-display-properties'
"Resolution" combo box and apply this change, even if they have only one
active monitor, leaving them without a working display.
With this patch the "Off" entry combo box is added to the "Resolution" combo
box only when the current output is not the only active output.
Maybe something like this?
Don't allow switching off the only active monitor
Currently, users can choose "Off" from gnome-display- properties'
"Resolution" combo box and apply this change, even if they have only one
active monitor, leaving them without a working display.
With this patch the "Off" entry combo box is added to the "Resolution" combo
box only when the current output is not the only active output.
Signed-off-by: SZEDER Gábor <email address hidden> display/ xrandr- capplet. c | 21 +++++++ +++++++ ++++++-
---
capplets/
1 files changed, 20 insertions(+), 1 deletions(-)