diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2016-04-25 16:22:38 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2016-04-25 16:22:56 +0200 |
commit | 7da939976014f791b9643b79bdefa2bc01a3b0b0 (patch) | |
tree | f6d76d432cdd13c38f6aae804adfd76ef99aefff | |
parent | 15e541caf08d2c27c893bad0f0a3bcaa45089ad7 (diff) | |
download | libwnck-7da939976014f791b9643b79bdefa2bc01a3b0b0.tar.gz |
Window: ignore unhandled non-_NET_WM actions
https://bugzilla.gnome.org/show_bug.cgi?id=765453
-rw-r--r-- | libwnck/window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libwnck/window.c b/libwnck/window.c index de425f7..033fe4b 100644 --- a/libwnck/window.c +++ b/libwnck/window.c @@ -2984,7 +2984,9 @@ update_actions (WnckWindow *window) else { const char *name = _wnck_atom_name (atoms [i]); - g_warning ("Unhandled action type %s", name ? name: "(nil)"); + + if (name && g_str_has_prefix (name, "_NET_WM_")) + g_warning ("Unhandled action type %s", name); } i++; |