]> git.mdlowis.com Git - proto/labwc.git/commitdiff
osd: always show title with <field content="title">
authortokyo4j <hrak1529@gmail.com>
Wed, 28 May 2025 19:47:41 +0000 (04:47 +0900)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 29 May 2025 02:10:55 +0000 (04:10 +0200)
Before this patch, titles were not shown if they are identical to the
identifiers.

src/osd-field.c

index 5a12e97b5cfad13e2f0fc7056b7343a1fa77141c..33cf2a7934caec4c1bd5c3d14e37d7938516e01e 100644 (file)
@@ -324,8 +324,7 @@ osd_field_arg_from_xml_node(struct window_switcher_field *field,
                } else if (!strcmp(content, "desktop_entry_name")) {
                        field->content = LAB_FIELD_DESKTOP_ENTRY_NAME;
                } else if (!strcmp(content, "title")) {
-                       /* Keep old defaults */
-                       field->content = LAB_FIELD_TITLE_SHORT;
+                       field->content = LAB_FIELD_TITLE;
                } else if (!strcmp(content, "workspace")) {
                        field->content = LAB_FIELD_WORKSPACE;
                } else if (!strcmp(content, "state")) {