Looks like fallout from the XCB port? Anyhow, appreciated if someone could push this on my behalf.
Thanks! - Pierre-Loup
>From 12df33eb2424533fa0b9ae8b9ceecdd67fa84ffc Mon Sep 17 00:00:00 2001 From: "Pierre-Loup A. Griffais" <[email protected]> Date: Tue, 9 Oct 2012 20:33:10 -0700 Subject: [PATCH] xwininfo: report the Visual class of the selected Window Not of the root window. Signed-off-by: Pierre-Loup A. Griffais <[email protected]> --- xwininfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwininfo.c b/xwininfo.c index 70947ee..bb290b7 100644 --- a/xwininfo.c +++ b/xwininfo.c @@ -981,7 +981,7 @@ Display_Stats_Info (struct wininfo *w) visual_iter = xcb_depth_visuals_iterator (depth_iter.data); for (; visual_iter.rem; xcb_visualtype_next (&visual_iter)) { - if (screen->root_visual == visual_iter.data->visual_id) { + if (win_attributes->visual == visual_iter.data->visual_id) { visual_type = visual_iter.data; break; } -- 1.7.10.4
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
