title: Resizing Window Vertically
body: <p><strong>EDIT: this question/answer is from 2013, back when Awesome was still on version 3.4/3.5, a lot has changed since then as Awesome was rewritten in version 4+ and what you see here may be different now. I'm adding this disclaimer because I'm seeing new responses/views for this question.</strong></p>
  
  <p>I'm trying to map my awesome wm shortcuts similar to tmux. I like tmux's alt+arrow combination to resize the pane in either dimension. I'm aware that awesome's <code>awful.tag.incmwfact()</code> function will work vertically or horizontally depending on layout. However, I'd also like a function that resizes in the other dimension under the same layout as well. This would be useful for maximizing one of the smaller windows vertically without invading the space of the largest window on the other half of the screen:</p>
  
  <pre><code>+----------+----------+
  |          |          |
  |          |     ^    |
  |          +-----|----+
  |          |     v    |
  |          |          |
  +----------+----------+
  </code></pre>
  
  <p>I found the <code>awful.client.moveresize()</code> function as well, but it only seems to work in floating layout. I know this is doable since I can resize the windows with a mouse, even in tiling layouts. I just don't know which function the mouse hooks into.</p>