On Thu, Oct 23, 2008 at 01:07:32AM +0200, Thomas Orgis wrote:
Am Wed, 22 Oct 2008 22:46:52 +0100 schrieb higuita <higuita7@yahoo.co.uk>:
you can already paste a URL to the X icon in the urlbar and it will load...
Indeed. Good to know.
the midle click on the body is reserved to dragging the page
Now that's funny. I have my middle button configured to emulate scroll wheels when pressed+dragging (EmulateWheel option in Xorg config). This is kindof convenient in all around X11, especiall with a trackpoint or trackball... The funny part is that this Xorg feature hides the middle click + dragging action from dillo -- it gets vertical and horizontal scroll events instead, while the single middle click that could paste the URL (let through by Xorg, because of EmulateWheelclickToo) is blocked from that by dillo, which prepares for movement of the mouse -- which is impossible to get in this config.
So an unreachable feature of dillo (dragging) makes a different expected feature (middle-click pasting into window) unreachable.
I envision making this configurable in dillo (deactivate dragging to activate pasting)... or recreate the EmulateWheelclickToo behaviour to use the isolated click for the differing action.
Please try the attached patch and let us know how it works for you. If you're a developer you may send me a patch with the middle_click_dragscrolls_page=YES dillorc option that went set to NO acts as the attached patch. -- Cheers Jorge.-