50 void operator=(
const Capture & ) ;
58 GX::Capture::Capture( ::
Display * display , ::
Window window ) :
62 m_ok = GrabSuccess == ::XGrabPointer( display ,
65 ButtonReleaseMask | PointerMotionMask ,
77 ::XUngrabPointer( m_display , CurrentTime ) ;
A window class that is-a GX::Drawable and a GX::EventHandler.
RAII class to capture Xlib mouse events.
~Capture()
Destructor. Releases mouse capture.