compositor-wayland: Create border after creating the OpenGL context.

dev
John Kåre Alsaker 12 years ago committed by Kristian Høgsberg
parent 840d5f975b
commit 4b3081ae8a
  1. 3
      src/compositor-wayland.c

@ -843,13 +843,14 @@ wayland_compositor_create(struct wl_display *display,
c->base.destroy = wayland_destroy; c->base.destroy = wayland_destroy;
c->base.restore = wayland_restore; c->base.restore = wayland_restore;
create_border(c);
if (wayland_compositor_create_output(c, width, height) < 0) if (wayland_compositor_create_output(c, width, height) < 0)
goto err_display; goto err_display;
if (gles2_renderer_init(&c->base) < 0) if (gles2_renderer_init(&c->base) < 0)
goto err_display; goto err_display;
create_border(c);
loop = wl_display_get_event_loop(c->base.wl_display); loop = wl_display_get_event_loop(c->base.wl_display);
fd = wl_display_get_fd(c->parent.wl_display, update_event_mask, c); fd = wl_display_get_fd(c->parent.wl_display, update_event_mask, c);

Loading…
Cancel
Save