Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xibarrierreleasepointers(3) [centos man page]

XIBARRIERRELEASEPOIN(3) 												   XIBARRIERRELEASEPOIN(3)

NAME
XIBarrierReleasePointer, XIBarrierReleasePointers - allow pointer movement across a pointer barrier SYNOPSIS
#include <X11/extensions/XInput2.h> int XIBarrierReleasePointer( Display *display, int deviceid, PointerBarrier barrier, BarrierEventID eventid); int XIBarrierReleasePointers( Display *display, XIBarrierReleasePointerInfo *barriers, int num_barriers); display Specifies the connection to the X server. deviceid Specifies the device allowed to move across the barrier. barrier Specifies the barrier. eventid Specifies the unique event ID for this barrier event sequence. barriers List of deviceid, barrier, eventid triplets. num_barriers Number of elements in barriers. DESCRIPTION
If a pointer is constrained by a pointer barrier, release the pointer from the barrier and allow it to cross the barrier with the next motion. If the pointer moves away from the barrier, this request does nothing. This request only releases the pointer for the given barrier event sequence. If the pointer moves away from or through the barrier, a XI_BarrierLeave event is generated. Future pointer movement constrained by this barrier will assign a new eventid and require a new XIBarrierReleasePointer request. If the pointer is not currently blocked by the barrier or the barrier event sequence has ended, this request does nothing. XIBarrierReleasePointer and XIBarrierReleasePointers can generate a BadDevice or BadValue error. DIAGNOSTICS
BadDevice An invalid device was specified. The device does not exist or is not a master pointer device. BadValue A value for a PointerBarrier argument does not name a defined pointer barrier. SEE ALSO
XFixesCreatePointerBarrier(3) 05/30/2013 XIBARRIERRELEASEPOIN(3)

Check Out this Related Man Page

rsm_memseg_import_init_barrier(3RSM)		      Remote Shared Memory Library Functions		      rsm_memseg_import_init_barrier(3RSM)

NAME
rsm_memseg_import_init_barrier, rsm_memseg_import_destroy_barrier - create or destroy barrier for imported segment SYNOPSIS
cc [ flag... ] file... -lrsm [ library... ] #include <rsmapi.h> int rsm_memseg_import_init_barrier(rsm_memseg_import_handle_t memseg, rsm_barrier_type_t type, rsmapi_barrier_t *barrier); int rsm_memseg_import_destroy_barrier(rsmapi_barrier_t *barrier); DESCRIPTION
The rsm_memseg_import_init_barrier() function creates a barrier for the imported segment specified by memseg. The barrier type is specified by the type argument. Currently, only RSM_BAR_DEFAULT is supported as a barrier type. A handle to the barrier is obtained through the bar- rier argument and is used in subsequent barrier calls. The rsm_memseg_import_destroy_barrier() function deallocates all the resources associated with the barrier. RETURN VALUES
Upon successful completion, these functions return 0. Otherwise, an error value is returned to indicate the error. ERRORS
The rsm_memseg_import_init_barrier() and rsm_memseg_import_destroy_barrier() functions can return the following errors: RSMERR_BAD_SEG_HNDL Invalid segment handle. RSMERR_BAD_BARRIER_PTR Invalid barrier pointer. The rsm_memseg_import_init_barrier() function can return the following errors: RSMERR_INSUFFICIENT_MEM Insufficient memory. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
rsm_memseg_import_open_barrier(3RSM), rsm_memseg_import_set_mode(3RSM), attributes(5) SunOS 5.10 8 Jun 2001 rsm_memseg_import_init_barrier(3RSM)
Man Page