1
0
Fork 0
mutter-performance-source/src/compositor
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
..
plugins meta: Add generated meta-version.h 2014-06-05 14:05:16 +02:00
clutter-utils.c Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
clutter-utils.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
cogl-utils.c Update (allow-none) annotations 2014-05-28 21:55:03 +02:00
cogl-utils.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
compositor-private.h compositor: Kill off MetaCompScreen 2014-03-26 12:04:48 -04:00
compositor.c Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
meta-background-actor-private.h cullable: Turn cull_out / reset_culling into a separate interface 2013-11-25 15:21:36 -05:00
meta-background-actor.c Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-background-group.c cullable: Turn cull_out / reset_culling into a separate interface 2013-11-25 15:21:36 -05:00
meta-background.c background: Remove load_still_frame 2014-04-02 12:35:24 -04:00
meta-cullable.c cullable: Reset the culling state instead of skipping the traversal 2014-02-05 14:24:08 -05:00
meta-cullable.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-module.c meta: Add generated meta-version.h 2014-06-05 14:05:16 +02:00
meta-module.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-plugin-manager.c Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
meta-plugin-manager.h Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
meta-plugin.c plugin: Don't pass events to Clutter 2014-04-22 12:44:33 -04:00
meta-shadow-factory-private.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-shadow-factory.c shadow-factory: Make sure to never use a negative spread 2014-06-10 13:40:32 +02:00
meta-shaped-texture-private.h shaped-texture: Move unobscured_region processing here 2014-02-05 14:42:38 -05:00
meta-shaped-texture.c meta-shaped-texture: Check if the parent has mapped clones as well 2014-02-28 18:27:37 +01:00
meta-stage.c Move the painting of the cursor on the stage out of the cursor renderer 2014-04-22 16:56:02 -04:00
meta-stage.h Move the painting of the cursor on the stage out of the cursor renderer 2014-04-22 16:56:02 -04:00
meta-surface-actor-wayland.c Fix last commit 2014-05-03 12:00:27 +02:00
meta-surface-actor-wayland.h Fix last commit 2014-05-03 12:00:27 +02:00
meta-surface-actor-x11.c window: Move get_toplevel_xwindow to window-x11 2014-06-16 18:29:38 -04:00
meta-surface-actor-x11.h window-actor: Split into two subclasses of MetaSurfaceActor 2014-02-20 14:44:31 -05:00
meta-surface-actor.c surface-actor: Implement is_argb32 generically for both X11 and Wayland 2014-03-25 17:04:39 -04:00
meta-surface-actor.h surface-actor: Implement is_argb32 generically for both X11 and Wayland 2014-03-25 17:04:39 -04:00
meta-texture-rectangle.c Properly set the number of components on the CoglTextureRectangle 2014-01-13 13:28:38 -05:00
meta-texture-rectangle.h Properly set the number of components on the CoglTextureRectangle 2014-01-13 13:28:38 -05:00
meta-texture-tower.c tower: Fix erroneous return value 2014-04-09 12:10:24 -07:00
meta-texture-tower.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-window-actor-private.h wayland: Move "public" Wayland API to another header file 2014-02-28 10:24:06 -05:00
meta-window-actor.c window: Rename get_input_rect to get_buffer_rect 2014-06-17 10:33:52 -04:00
meta-window-group.c window-group: Don't special-case the unredirected window 2014-02-18 21:29:50 -05:00
meta-window-group.h cullable: Turn cull_out / reset_culling into a separate interface 2013-11-25 15:21:36 -05:00
meta-window-shape.c Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-window-shape.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
README There can be only one compositor engine 2009-06-30 09:34:03 -04:00
region-utils.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
region-utils.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00

Intro
=====

Fix me.


Env Vars
========

MUTTER_DISABLE_MIPMAPS - set to disable use of mipmaped windows.