~canonical-dx-team/nux/trunk

« back to all changes in this revision

Viewing changes to NuxGraphics/XInputWindow.cpp

  • Committer: Jay Taoko
  • Date: 2010-11-29 18:32:11 UTC
  • Revision ID: jay.taoko@canonical.com-20101129183211-dtg218gykvcj5xej
* Detect mouse release during a GrabPointer of input windows

[modified]
  NuxGraphics/XInputWindow.cpp

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
    XGrabPointer(d,
221
221
                 _window,
222
222
                 True,
223
 
                 ButtonPressMask,
 
223
                 ButtonPressMask|ButtonReleaseMask,
224
224
                 GrabModeAsync,
225
225
                 GrabModeAsync,
226
226
                 None,