summaryrefslogtreecommitdiff
path: root/src/corelib/x11
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-25 22:02:03 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-25 22:02:03 +0000
commite31752284d78a71eb5c68cad677eedc0df227f04 (patch)
tree27caadd9e9b221ec7b0deff3aed95e4fc7e3af42 /src/corelib/x11
parent450da5d28e0173db8484a0be094bfc23872ecedc (diff)
downloadfpGUI-e31752284d78a71eb5c68cad677eedc0df227f04.tar.xz
* I believe I fixed the Button down state and Mouse Events issue. It now works under Linux. I still need to test under Windows.
* Remove the unneeded .ReleaseMouse call in EditCombo unit. * Added new credit in the Authors text file * Fixed the tab order of the Wu Line example project.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r--src/corelib/x11/gfx_x11.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/x11/gfx_x11.pas b/src/corelib/x11/gfx_x11.pas
index c41d873c..3dea8c4f 100644
--- a/src/corelib/x11/gfx_x11.pas
+++ b/src/corelib/x11/gfx_x11.pas
@@ -869,8 +869,8 @@ begin
w := FindWindowByHandle(ev.xbutton.window);
if not Assigned(w) then
ReportLostWindow(ev);
-{
- else
+
+{ else
begin
if ev._type = X.ButtonPress then
begin
@@ -1431,7 +1431,7 @@ end;
procedure TfpgWindowImpl.CaptureMouse;
begin
XGrabPointer(xapplication.Display, FWinHandle,
- True,
+ False,
ButtonPressMask or ButtonReleaseMask or ButtonMotionMask or PointerMotionMask,
GrabModeAsync,
GrabModeAsync,