diff options
author | Adam Jackson <ajax@redhat.com> | 2010-11-22 14:50:13 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-08 10:58:13 -0500 |
commit | 54926675a9bbb732d3317316db4958e22922ea3f (patch) | |
tree | f46741d6cb8c0eebcd2d035d8bd8ed1c5e95880f /include/X11/extensions/Xfixes.h | |
parent | c301e75b0316c00599caa88d95f384d63eb8bec0 (diff) |
libXfixes v5: Pointer barrierslibXfixes-5.0
v2: Use int * for device list, consistent with libXi.
v3: Update copyright year.
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include/X11/extensions/Xfixes.h')
-rw-r--r-- | include/X11/extensions/Xfixes.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/X11/extensions/Xfixes.h b/include/X11/extensions/Xfixes.h index 0c00310..10a7e2e 100644 --- a/include/X11/extensions/Xfixes.h +++ b/include/X11/extensions/Xfixes.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright 2011 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -249,6 +250,20 @@ XFixesShowCursor (Display *dpy, Window win); #endif /* XFIXES_MAJOR >= 4 */ +#if XFIXES_MAJOR >= 5 + +typedef XID PointerBarrier; + +PointerBarrier +XFixesCreatePointerBarrier(Display *dpy, Window w, int x1, int y1, + int x2, int y2, int directions, + int num_devices, int *devices); + +void +XFixesDestroyPointerBarrier(Display *dpy, PointerBarrier b); + +#endif /* XFIXES_MAJOR >= 5 */ + _XFUNCPROTOEND #endif /* _XFIXES_H_ */ |