DeviceWorkstation.st
changeset 2583 0f2e785bf844
parent 2536 92335e8cf854
child 2598 648c300ed7c7
--- a/DeviceWorkstation.st	Sat Apr 24 16:20:57 1999 +0200
+++ b/DeviceWorkstation.st	Sat Apr 24 17:48:38 1999 +0200
@@ -4194,6 +4194,13 @@
     ^ self grabPointerIn:aWindowId withCursor:nil pointerMode:#async keyboardMode:#sync confineTo:nil
 !
 
+grabPointerIn:aWindowId withCursor:aCursorIdOrNil
+    "grap the pointer; all pointer events will be reported to the view
+     with id aWindowId. Return true if ok, false if it failed for some reason."
+
+    ^ self grabPointerIn:aWindowId withCursor:aCursorIdOrNil pointerMode:#async keyboardMode:#sync confineTo:nil
+!
+
 grabPointerIn:aWindowId withCursor:cursorId pointerMode:pMode keyboardMode:kMode confineTo:confineId
     "grap the pointer - all pointer events will be reported to aWindowId. The cursor will be set to cursorId
      for the duration of the grab. For pMode/kMode, see X documentation. The pointer is restricted to
@@ -6214,6 +6221,6 @@
 !DeviceWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.281 1999-03-24 19:13:30 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.282 1999-04-24 15:47:52 cg Exp $'
 ! !
 DeviceWorkstation initialize!