[dev] [tabbed] [patch] Auto-hide title when there is only one window

From: Carlos Pita <carlosjosepita_AT_gmail.com>
Date: Sat, 13 Oct 2012 17:10:54 -0300

Just that.

Some observations about the (minor) changes:

vbh = visible bar height, the height that the bar should have when
it's visible, calculated from font dimensions, this remains constant
during tabbed lifespan.

bh = effective bar height, sometimes 0, somethimes vbh.

Only when bh changes I moveresize the clients (not everytime drawbar is called).

The bar is always vbh height, just that it's hidden by the only client
when bh = 0.

Something like dwm's togglebar should be easy to implement from this.

I've not tested it exhaustively yet but seems to be working fine.

Best regards
--
Carlos

Received on Sat Oct 13 2012 - 22:10:54 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 13 2012 - 22:12:04 CEST