Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
afb41f715b
We have two different coordinate spaces here. One is the rectangle returned by meta_window_get_frame_rect, which is called the "frame rect" or "the window geometry", which includes visible frame borders but not invisible frame borders. The other is "frame->rect" which corresponds to the frame's server geometry. That is, it includes both visible and invisible frame borders. These two were of course the same until we introduced invisible frame borders, and an executive decision was made to make meta_window_get_frame_rect return the rectangle bounding the visible portions of the frame. As time went on, the "frame rect" turned out to be more useful when making decisions upon, since the user often doesn't think about the invisible window geometry as part of the window. We already calculate what amounts to the "frame rect" in the theme code, so just change META_CORE_GET_FRAME_RECT to consume that directly. |
||
---|---|---|
data | ||
doc | ||
po | ||
src | ||
test | ||
tools | ||
.cvsignore | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
mutter.doap | ||
NEWS |