From cd3d88974c272798f73c68761bae0070b853ac80 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Mon, 30 Dec 2024 23:32:09 +0100 Subject: [PATCH] src/debug.c: fix inverted string_null_or_empty() check Reported-By: Domo via IRC --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index ceabbd54..01c64ad2 100644 --- a/src/debug.c +++ b/src/debug.c @@ -70,7 +70,7 @@ get_view_part(struct view *view, struct wlr_scene_node *node) } if (node == &view->scene_tree->node) { const char *app_id = view_get_string_prop(view, "app_id"); - if (!string_null_or_empty(app_id)) { + if (string_null_or_empty(app_id)) { return "view"; } snprintf(view_name, sizeof(view_name), "view (%s)", app_id);