When you have some time, could you please update this code to match the unity coding stiles (i.e. no spaces between methods and brackets)
Instead of GetTextProperty and GetTextProperty why not just using gdk_x11_get_xatom_by_name?
Also, these functions should actually be in WindowManager class (implemented by PluginAdapterCompiz).
441 + if (window_header_style_)
442 + g_object_unref (window_header_style_);
You should have used glib::Object for this, and try to get rid of some manual deletion using smart pointers.
64 + WindowCairoContext ()
When you have some time, could you please update this code to match the unity coding stiles (i.e. no spaces between methods and brackets)
Instead of GetTextProperty and GetTextProperty why not just using gdk_x11_ get_xatom_ by_name? mpiz).
Also, these functions should actually be in WindowManager class (implemented by PluginAdapterCo
441 + if (window_ header_ style_) header_ style_) ;
442 + g_object_unref (window_
You should have used glib::Object for this, and try to get rid of some manual deletion using smart pointers.