mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-03 02:23:16 +00:00
XWM: debug position and size on map request
Helps debugging initial placement problems. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
7db6c43b5b
commit
44660c3b9c
|
@ -966,8 +966,9 @@ weston_wm_handle_map_request(struct weston_wm *wm, xcb_generic_event_t *event)
|
||||||
if (window->frame_id == XCB_WINDOW_NONE)
|
if (window->frame_id == XCB_WINDOW_NONE)
|
||||||
weston_wm_window_create_frame(window);
|
weston_wm_window_create_frame(window);
|
||||||
|
|
||||||
wm_log("XCB_MAP_REQUEST (window %d, %p, frame %d)\n",
|
wm_log("XCB_MAP_REQUEST (window %d, %p, frame %d, %dx%d @ %d,%d)\n",
|
||||||
window->id, window, window->frame_id);
|
window->id, window, window->frame_id,
|
||||||
|
window->width, window->height, window->x, window->y);
|
||||||
|
|
||||||
weston_wm_window_set_wm_state(window, ICCCM_NORMAL_STATE);
|
weston_wm_window_set_wm_state(window, ICCCM_NORMAL_STATE);
|
||||||
weston_wm_window_set_net_wm_state(window);
|
weston_wm_window_set_net_wm_state(window);
|
||||||
|
|
Loading…
Reference in a new issue