Go to file
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
data build: Move data files to their dedicated subfolder 2014-06-05 10:50:15 +02:00
doc window: Rename get_input_rect to get_buffer_rect 2014-06-17 10:33:52 -04:00
po build: Move data files to their dedicated subfolder 2014-06-05 10:50:15 +02:00
src window: Rename get_input_rect to get_buffer_rect 2014-06-17 10:33:52 -04:00
test Clean up the source tree 2014-03-18 20:37:35 -04:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore Update .gitignore 2014-06-11 09:24:59 -04:00
autogen.sh configure.ac: Modernize autoconf/libtool dependencies and macro usage 2014-06-05 18:05:19 +02:00
configure.ac configure.ac: Modernize autoconf/libtool dependencies and macro usage 2014-06-05 18:05:19 +02:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am build: Move data files to their dedicated subfolder 2014-06-05 10:50:15 +02:00
mutter.doap Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
NEWS Bump version to 3.13.2 2014-05-27 21:18:25 +02:00