diff --git a/src/xserver-launcher.c b/src/xserver-launcher.c index dd9c2521..c8d916d6 100644 --- a/src/xserver-launcher.c +++ b/src/xserver-launcher.c @@ -856,6 +856,10 @@ weston_wm_handle_map_request(struct weston_wm *wm, xcb_generic_event_t *event) XCB_CW_EVENT_MASK, values); xcb_reparent_window(wm->conn, window->id, window->frame_id, x, y); + values[0] = 0; + xcb_configure_window(wm->conn, window->id, + XCB_CONFIG_WINDOW_BORDER_WIDTH, values); + fprintf(stderr, "XCB_MAP_REQUEST (window %d, %p, frame %d)\n", window->id, window, window->frame_id); @@ -1541,7 +1545,6 @@ weston_wm_handle_event(int fd, uint32_t mask, void *data) break; } - free(event); count++; }