diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-07-11 13:59:56 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-07-11 13:59:56 +0000 |
commit | 9aa35c9c0a5220af1bdc7493d4caf418664d8af7 (patch) | |
tree | a3e68f4cc6b5e354f120a979a1a98e7fb8f00b62 /src/corelib/x11 | |
parent | ba6dd3be462fac8b944ecf436be4f70ce33e5cb8 (diff) | |
download | fpGUI-9aa35c9c0a5220af1bdc7493d4caf418664d8af7.tar.xz |
Applied mousevents patch from Vladimir.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r-- | src/corelib/x11/gfx_x11.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/x11/gfx_x11.pas b/src/corelib/x11/gfx_x11.pas index d485762c..c62413f3 100644 --- a/src/corelib/x11/gfx_x11.pas +++ b/src/corelib/x11/gfx_x11.pas @@ -1609,7 +1609,8 @@ procedure TfpgWindowImpl.CaptureMouse; begin XGrabPointer(xapplication.Display, FWinHandle, TBool(False), - ButtonPressMask or ButtonReleaseMask or ButtonMotionMask or PointerMotionMask, + ButtonPressMask or ButtonReleaseMask or ButtonMotionMask or PointerMotionMask + or EnterWindowMask or LeaveWindowMask, GrabModeAsync, GrabModeAsync, None, |