GNOME Bugzilla – Bug 765453
Patch to stop "Unhandled action type" warnings spam in logs from custom atoms
Last modified: 2016-04-25 14:26:26 UTC
Created attachment 326587 [details] [review] Warning fix libwnck is flooding systemd journal very hard with "Unhandled action type" warnings when it encounters atom that it doesn't understand. Openbox being a particular victim of this spam because it employs custom atom _OB_WM_ACTION_UNDECORATE for its needs. Attached patch changes the behavior of this warning to occur only when unknown atom's name is null or begins with "_NET_WM_" in its name, thereby suppressing warnings for all non-standard atoms.
*** Bug 765452 has been marked as a duplicate of this bug. ***
Review of attachment 326587 [details] [review]: The patch is against the .orig, file. Also, you could just have called g_str_has_prefix. I've fixed the patch and pushed upstream BTW. Thanks for pointing out the issue.