From ac93ac087d5a443eae0d052ba9d0bbb38ca44214 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Mon, 11 Sep 2017 11:02:14 -0400 Subject: XPresent extension support - first pass --- src/core/screen.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/core/screen.c') diff --git a/src/core/screen.c b/src/core/screen.c index 28d2febf..308795e3 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -740,15 +740,16 @@ list_windows (MetaScreen *screen) children[i], &info->attrs); if (meta_error_trap_pop_with_return (screen->display, TRUE)) - { + { meta_verbose ("Failed to get attributes for window 0x%lx\n", children[i]); - g_free (info); + g_free (info); + continue; } else { - info->xwindow = children[i]; - } + info->xwindow = children[i]; + } result = g_list_prepend (result, info); } -- cgit v1.2.1