Debugging drags, mouse capture / pointer grab, kdevelop3 freezes

Pierre-Paul Lavoie ppl at idios.org
Tue Apr 18 17:42:22 BST 2006


Alex Bligh wrote:
> Hi,
[...]
> This makes it really hard to debug drags. Now I'm not sure why X is
> carrying state between two apps (I'm not an X guru), or indeed whose
> responsibility it should be to clear things up. Any ideas for a
> fix or work-around?
> 
> Alex

This is because of the Xlib call XGrabPointer [1]. The event processing 
depends on the pointer_mode and owner_events. There' not much KDevelop 
could do afaik. The application is being paused while it have an 
exclusive access to the mouse pointer.

Usuallly, when you develop applications such as a window manager, you 
will use a nested server. You should try running your application in 
Xnest and debug the application from your normal desktop/server.

Good luck,
ppl

[1] http://www.xfree86.org/4.4.0/XGrabPointer.3.html

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list