steamcompmgr: Invoke xwininfo and xprop with an explicit display parameter#2232
steamcompmgr: Invoke xwininfo and xprop with an explicit display parameter#2232oSoMoN wants to merge 1 commit into
Conversation
…meter When debugging focus issues, the output of xwininfo and xprop is logged, but both commands were being invoked without a display parameter, resulting in a BadWindow (invalid Window parameter) X error.
|
Not critical but there's also a case when Pseudo-code static has_xwnfo = true;
if (has_xwnfo) {
int ret = system (cmd);
if (BAD_RET(ret)) {
has_xwnfo = false;
xwm_log.errorf("Can not execute 'xwininfo'. Install corresponding system package for detailed output.");
}
} |
|
This logging is behind a flag ( |
|
Yes and no. A lot of people using gamescope. Many of them even trying to fix their issues by themselves. I myself was a little confused and thought error message was part gamescope debug messages. So I guess it's fair to offer a little help to not those damn users, with unhelpful help going to stderr, etc., but to people who help fixing bugs (I suppose there are bunch of them bugs in the But, It's not your obligation to do this, certainly. Footnotes
|
|
Fair enough, but let's do this in a separate PR. If you want to propose a patch, I will review it. |
When debugging focus issues, the output of xwininfo and xprop is logged, but both commands were being invoked without a display parameter, resulting in a BadWindow (invalid Window parameter) X error.