After GTK+3.19 update $HOME/.xsession-errors is flooded with the following warning messages and the CPU usage for GTK3 panel plugins is very high: (wrapper-2.0:24577): Gtk-WARNING **: State 0 for XfcePanelWindowWrapper 0x253e2c0 doesn't match state 128 set via gtk_style_context_set_state () This is related to changes in GTK+ [1]. [1] https://blogs.gnome.org/mclasen/2015/11/20/a-gtk-update/
Created attachment 6553 Fixes the log flooding and high CPU usage Attached patch fixes the issue. Changes are adapted from the example in the blog post in comment 0.