-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some windows don't play nicely with xcb_ewmh #117
Comments
Okay, it turns out this is a more over-reaching issue. Not all windows respond to Lines 2063 to 2064 in 0eb3d54
prints garbage or is skipped altogether for such windows. Spectrwm works correctly in this regard, and it uses |
So, with the PR merge the largest problem is gone. Now there is the output title issue left. What I have managed to do is in this branch. At first sight it seems to work well, the title is output for all windows. But if the title contains non-ASCII characters, it may get cropped or mangled. As it turns out, the Xlib uses some obscure The options, as I see it, are
Honestly option 3 looks the best to me. I have been using it for a couple of months in my Dzen bar and it works flawlessly. It also avoids duplicating code. |
I've set
#define OUTPUT_TITLE True
in myconfig.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
and found out that the output is
(null)
. It seems something is wrong with handling that string.The text was updated successfully, but these errors were encountered: