Package: libwnck
Version: 2.18.2-1

when using a window manager that uses actions which libwnck doesn't
know about, like say openbox 3.4 in combination with rox and TaskTray,
libwnck complains very loudly:

(TaskTray:9403): Wnck-WARNING **: Unhandled action type (nil)
(TaskTray:9403): Wnck-WARNING **: Unhandled action type (nil)
(TaskTray:9403): Wnck-WARNING **: Unhandled action type (nil)
(TaskTray:9403): Wnck-WARNING **: Unhandled action type (nil)
... ad nauseum

AFAIU new actions are being hammered out all the time by the fine
folks at xorg and gnome, so I suggest the messages be throttled, or
ideally, removed, as in the attached patch.

-Kacper
--- libwnck/window.c.old	2007-07-04 10:30:26.000000000 +0200
+++ libwnck/window.c	2007-07-04 10:39:53.000000000 +0200
@@ -2188,12 +2188,6 @@
       else if (atoms[i] == _wnck_atom_get ("_NET_WM_ACTION_FULLSCREEN"))
         window->priv->actions |= WNCK_WINDOW_ACTION_FULLSCREEN;
 
-      else
-        {
-          const char *name = _wnck_atom_name (atoms [i]);
-          g_warning ("Unhandled action type %s", name ? name: "(nil)");
-        }
-
       i++;
     }
 

Reply via email to