[PATCH 25/31] Xi: Remove dead Device{Enter,Leave}WindowMask
Peter Hutterer
peter.hutterer at who-t.net
Tue Dec 6 14:51:25 PST 2011
On Fri, Dec 02, 2011 at 11:31:31AM +0000, Daniel Stone wrote:
> These were an unused remnant of earlier MPX work; their only users got
> cleared out in dc153271, but the mask declarations remained. Remove
> them, and move DevicePropertyNotify's mask up to be contiguous with the
> rest of the range.
>
> Signed-off-by: Daniel Stone <daniel at fooishbar.org>
> ---
> Xi/extinit.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/Xi/extinit.c b/Xi/extinit.c
> index 435921c..c9e991d 100644
> --- a/Xi/extinit.c
> +++ b/Xi/extinit.c
> @@ -149,9 +149,7 @@ const Mask ChangeDeviceNotifyMask = (1L << 16);
> const Mask DeviceButtonGrabMask = (1L << 17);
> const Mask DeviceOwnerGrabButtonMask = (1L << 17);
> const Mask DevicePresenceNotifyMask = (1L << 18);
> -const Mask DeviceEnterWindowMask = (1L << 18);
> -const Mask DeviceLeaveWindowMask = (1L << 19);
> -const Mask DevicePropertyNotifyMask = (1L << 20);
> +const Mask DevicePropertyNotifyMask = (1L << 19);
> const Mask XIAllMasks = (1L << 21) - 1;
shouldn't you adjust XIAllMasks as well then? With that,
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Cheers,
Peter
More information about the xorg-devel
mailing list