gears: Make window transparent
We need this for the window decorations.
diff --git a/clients/gears.c b/clients/gears.c
index a1e9f66..2b1668e 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -315,7 +315,7 @@
gears->d = display;
gears->window = window_create(display, width, height);
gears->widget = frame_create(gears->window, gears);
- window_set_transparent(gears->window, 0);
+ window_set_transparent(gears->window, 1);
window_set_title(gears->window, "Wayland Gears");
gears->display = display_get_egl_display(gears->d);
@@ -324,7 +324,7 @@
eglBindAPI(EGL_OPENGL_API);
- gears->config = display_get_rgb_egl_config(gears->d);
+ gears->config = display_get_argb_egl_config(gears->d);
gears->context = eglCreateContext(gears->display, gears->config,
EGL_NO_CONTEXT, NULL);