mutter/doc
Jasper St. Pierre 188e4e1b92 window: Rename get_input_rect to get_buffer_rect
With get_input_region existing, get_input_rect is a misnomer. Really,
it's about the geometry of the output surface, and it's only used that
way in the compositor code.

Way back when in GNOME 3.2, get_input_rect was added when we added
invisible borders. get_outer_rect was always synonymous with server-side
geometry of the toplevel. get_outer_rect was used for both user-side
policy (the "frame rect") and to get the geometry of the window.

Invisible borders were meant to extend the input region of the frame
window silently. Since most users of get_outer_rect cared about the
frame rect, we kept that the same and added a new method, get_input_rect
to get the full rect of the framed window with all invisible borders for
input kept on.

As time went on and CSD and Wayland became a reality, the relationship
between the server-side geometry and the "frame rect" became more
complicated, as can be evidenced by the recent commits. Since clients
don't tend to be framed anymore, they set their own input region.

get_buffer_rect is also sort of a poor name, since X11 doesn't really
have buffers, but we don't really have many other alternatives.

This doesn't change any of the code, nor the meaning. It will always
refer to the rectangle where the toplevel should be placed.
2014-06-17 10:33:52 -04:00
..
man Drop man pages for removed utilities 2013-08-22 12:35:05 +02:00
reference window: Rename get_input_rect to get_buffer_rect 2014-06-17 10:33:52 -04:00
.cvsignore
code-overview.txt
compositor-control.txt
dialogs.txt
how-constraints-works.txt
how-to-get-focus-right.txt workspace: Don't try to use per-workspace MRU lists as a hint for focusing 2012-03-20 17:08:34 -04:00
Makefile.am build: Don't try to distribute removed files 2014-03-19 21:09:02 +01:00
rationales.txt Clean up the source tree 2014-03-18 20:37:35 -04:00
strut-and-related-updating.txt
theme-format.txt