Displaying 1 result from an estimated 1 matches for "meta_calc_button_size".
2007 Apr 02
0
[PATCH] button_layout support for gtk-window-decorator
...n extends did fail for me as
meta_get_button_position() (even the metacity theme exports) for some
unknown reason returned wrong x positions when using a non-default
button_layout. Anyone knows why?
Therefore this patch fixes the redraw issues by just calculating a sum
of all button width's in meta_calc_button_size() which "works"(tm).
While everything seems to work ok with these patches, it is not the best
and most accurate solution and should probably not get applied.
I hope someone might actually make use of these patches and look into
correctly extending the interfaces to support button_layout...