[haiku-commits] Re: haiku: hrev45223 - src/preferences/screen

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Thu, 31 Jan 2013 14:40:10 -0500

On Thu, Jan 31, 2013 at 2:29 PM, <jscipione@xxxxxxxxx> wrote:

> -       _UpdateMonitor();
> -       _UpdateControls();
> +               _UpdateMonitor();
> +               _BuildSupportedColorSpaces();
> +               _UpdateControls();
> +       }
>  }
>

One last detail I forgot to mention in the commit message. I added a call
to _BuildSupportedColorSpaces() to rebuild the list of supported color
spaces when the workspace changes. This is because if the resolution
changes when you switch workspaces the list of supported color spaces might
change as well.

Other related posts: