xwm: Set border width to zero in handle_map_request

Kristian Høgsberg 13 years ago
parent da86af7a15
commit fabcf8fb86
  1. 5
      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++;
}

Loading…
Cancel
Save