In the file open dialog if I select a text in the text
box below and try to drag this text with middle click,
X grabs the mouse.
The only way to solve the problem without restarting X
was Ctrl+Alt+F1, kill xdvi and xlock which grabs the
mouse and releases the old grab.
The problem doesn't exist in other file open dialogs of
Motif applications such as NEdit oder ddd.
Logged In: YES
user_id=177175
OK, I can reproduce that. It seems to be a problem with the
XtAppProcessEvent() loop which xm_filesel.c uses to get the
returned filename. Getting rid of that will require some
rewrites of the file selection code.
Logged In: YES
user_id=302109
Is it not possible to disable drag&drop in the file selector
at all?
Logged In: YES
user_id=177175
> Is it not possible to disable drag&drop in the file selector
> at all?
Good idea - I didn't think of that! After doing a quick web
search and checking the Motif FAQ, it seems that this can be
only changed for the entire application in a `clean' way (at
least for Motif 1.x, may be different for 2.x). But since
xdvi doesn't use drag&drop anyway, I guess it won't do any
harm. I've now implemented this in 22.79-CVS14 (CVS HEAD and
xdvik_STABLE; please note the possible delay of up to 5
hours for SF anonymous CVS).
It should have the same effect as setting the following in
your ~/.Xdefaults:
XDvi*dragInitiatorProtocolStyle: XmDRAG_NONE
XDvi*dragReceiverProtocolStyle: XmDRAG_NONE
Logged In: YES
user_id=302109
Very good, this fixes the problem for me. :)