diff options
Diffstat (limited to 'apps/xwininfo')
-rw-r--r-- | apps/xwininfo/xwininfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/xwininfo/xwininfo.c b/apps/xwininfo/xwininfo.c index 3af82d84c..de1e33e4c 100644 --- a/apps/xwininfo/xwininfo.c +++ b/apps/xwininfo/xwininfo.c @@ -992,7 +992,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; } |