projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da86af7
)
xwm: Set border width to zero in handle_map_request
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 18 May 2012 19:58:30 +0000
(15:58 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 18 May 2012 19:58:30 +0000
(15:58 -0400)
src/xserver-launcher.c
patch
|
blob
|
history
diff --git
a/src/xserver-launcher.c
b/src/xserver-launcher.c
index
dd9c252
..
c8d916d
100644
(file)
--- 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++;
}