Displaying 2 results from an estimated 2 matches for "meta_get_button_posit".
2006 Sep 29
1
undeclared identifier 'space' in function MetaButtonSpace
....deps/gtk-window-decorator.Tpo" -c -o gtk-window-decorator.o
gtk-window-decorator.c; \
then mv -f ".deps/gtk-window-decorator.Tpo"
".deps/gtk-window-decorator.Po"; else rm -f
".deps/gtk-window-decorator.Tpo"; exit 1; fi
gtk-window-decorator.c: In function ?meta_get_button_position?:
gtk-window-decorator.c:2813: error: ?MetaButtonSpace? undeclared (first
use in this function)
gtk-window-decorator.c:2813: error: (Each undeclared identifier is
reported only once
gtk-window-decorator.c:2813: error: for each function it appears in.)
gtk-window-decorator.c:2813: error: ?space?...
2007 Apr 02
0
[PATCH] button_layout support for gtk-window-decorator
...ong due to the new possibility for
arbitrary button placements and caused wrong redraw behaviour (white
titlebars etc.). Main issue is the button_width which does not fit into
the concept of left and right button groups on the titlebar.
Attempts to use the correct button 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...