protocol: Specify upper left corner of damage rectangle
authorYong Bakos <ybakos@humanoriented.com>
Thu, 11 Aug 2016 21:33:05 +0000 (14:33 -0700)
committerBryce Harrington <bryce@osg.samsung.com>
Fri, 12 Aug 2016 19:46:02 +0000 (12:46 -0700)
Specify x and y args as the upper left corner of the surface / buffer
damage rectangle.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
protocol/wayland.xml

index 553274f..3f2d967 100644 (file)
 
        Damage is double-buffered state, see wl_surface.commit.
 
-       The damage rectangle is specified in surface-local coordinates.
+       The damage rectangle is specified in surface-local coordinates,
+       where x and y specify the upper left corner of the damage rectangle.
 
        The initial value for pending damage is empty: no damage.
        wl_surface.damage adds pending damage: the new pending damage
 
        Damage is double-buffered state, see wl_surface.commit.
 
-       The damage rectangle is specified in buffer coordinates.
+       The damage rectangle is specified in buffer coordinates,
+       where x and y specify the upper left corner of the damage rectangle.
 
        The initial value for pending damage is empty: no damage.
        wl_surface.damage_buffer adds pending damage: the new pending