From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Mon, 30 Dec 2024 22:32:09 +0000 (+0100) Subject: src/debug.c: fix inverted string_null_or_empty() check X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=cd3d88974c272798f73c68761bae0070b853ac80;p=proto%2Flabwc.git src/debug.c: fix inverted string_null_or_empty() check Reported-By: Domo via IRC --- 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);