[waffle] [PATCH 09/10] x11: correctly set the screen number of the current display
Chad Versace
chad.versace at linux.intel.com
Thu Jun 5 23:27:21 PDT 2014
On Sat, May 31, 2014 at 03:22:07AM +0100, Emil Velikov wrote:
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> src/waffle/x11/x11_display.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/waffle/x11/x11_display.c b/src/waffle/x11/x11_display.c
> index 43b6ef0..8a3524d 100644
> --- a/src/waffle/x11/x11_display.c
> +++ b/src/waffle/x11/x11_display.c
> @@ -48,8 +48,7 @@ x11_display_init(struct x11_display *self, const char *name)
> return false;
> }
>
> - // FIXME: Don't assume screen is 0.
> - self->screen = 0;
> + self->screen = DefaultScreen(self->xlib);
>
> return true;
> }
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
More information about the waffle
mailing list