[comp.windows.x] creating a cursor that stays the same between windows

curtis@sugar.hackercorp.com (Curtis Keller) (04/04/91)

Using open-looks' filemgr - if a file folder (envelope) is
selected - it is possible to move the cursor (which takes on
an envelope bitmap) across the screen (from one window to 
another) - and the cursor remains an envelope - rather than 
changing into the appropriate cursor style for the window
the cursor is over.
What's the X trick involved ?
This behaviour is exhibited irrespective of window manager
being used (mwm,twm or open-look).
-- 
Curtis Keller
713-953-8320
uunet!scisoft!curtis  or  bcm!scisoft!curtis  or  sugar!curtis

fgreco@govt.shearson.COM (Frank Greco) (04/04/91)

> Using open-looks' filemgr - if a file folder (envelope) is
> selected - it is possible to move the cursor (which takes on
> an envelope bitmap) across the screen (from one window to 
> another) - and the cursor remains an envelope - rather than 
> changing into the appropriate cursor style for the window
> the cursor is over.
> What's the X trick involved ?
> This behaviour is exhibited irrespective of window manager
> being used (mwm,twm or open-look).

	The cursor remains the same while a grab is active.
	Since this is done at the Xlib level, its no 
	surprise that it works irrespective of wm.

	FYI, This inter-app communication model is called Drag-n-Drop.

	Frank G.