mouse-resize-pane: Only resize on border select
commitd2160e3f838bc2f5c08dffc0f05bc27502668ed7
authornicm <nicm>
Thu, 10 Oct 2013 12:08:14 +0000 (10 12:08 +0000)
committernicm <nicm>
Thu, 10 Oct 2013 12:08:14 +0000 (10 12:08 +0000)
treec5379921cf3a0e18d6df38fa4e79bca461b8b4c5
parentb822d24b15669a0b7d325e2a2f04959b05a3d4fb
mouse-resize-pane: Only resize on border select

The current behaviour of mouse-resize-pane is such that if the mouse
button is held down and a selection takes place within a pane, that if
the mouse pointer then hits a border edge, that pane-resize would
initiate.

This seems counter-intuitive; instead, check for a resize condition if
the border of a pane is selected, and in the case of mouse selection
within a pane, no longer resize the pane if edge of the border is hit.

By Thomas Adam.
layout.c