Skip to content

Some windows don't play nicely with xcb_ewmh #117

@qsmodo

Description

@qsmodo

I've set #define OUTPUT_TITLE True in my config.h, recompiled, but still no title is output.

I added a debugging fprintf(stderr, "%s\n", wtitle.strings); statement inside this test:

FrankenWM/frankenwm.c

Lines 1385 to 1388 in 0eb3d54

if (M_CURRENT) {
cookie = xcb_ewmh_get_wm_name_unchecked(ewmh, M_CURRENT->win);
xcb_ewmh_get_wm_name_reply(ewmh, cookie, &wtitle, (void *)0);
}

and found out that the output is (null). It seems something is wrong with handling that string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions