[PATCH weston 1/6] XWM: debug position on create_notify
Pekka Paalanen
ppaalanen at gmail.com
Fri Nov 25 11:16:55 UTC 2016
On Thu, 24 Nov 2016 13:40:45 +0200
Pekka Paalanen <ppaalanen at gmail.com> wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>
> Helps debugging X11 window positioning issues.
>
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> ---
> xwayland/window-manager.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
> index c0eb7b0..4a799e3 100644
> --- a/xwayland/window-manager.c
> +++ b/xwayland/window-manager.c
> @@ -1244,8 +1244,9 @@ weston_wm_handle_create_notify(struct weston_wm *wm, xcb_generic_event_t *event)
> xcb_create_notify_event_t *create_notify =
> (xcb_create_notify_event_t *) event;
>
> - wm_log("XCB_CREATE_NOTIFY (window %d, width %d, height %d%s%s)\n",
> + wm_log("XCB_CREATE_NOTIFY (window %d, at (%d, %d), width %d, height %d%s%s)\n",
> create_notify->window,
> + create_notify->x, create_notify->y,
> create_notify->width, create_notify->height,
> create_notify->override_redirect ? ", override" : "",
> our_resource(wm, create_notify->window) ? ", ours" : "");
Hi,
all 6 patches pushed:
e6dec90..e3a582f master -> master
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20161125/b0d2a45a/attachment.sig>
More information about the wayland-devel
mailing list