Do nothing if no titlebar.sw

This commit is contained in:
Julien Danjou 2008-03-16 11:07:59 +01:00
parent 3eef1842e4
commit 7462b44e37
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,9 @@ titlebar_update_geometry_floating(Client *c)
area_t
titlebar_update_geometry(Client *c, area_t geometry)
{
if(!c->titlebar.sw)
return;
switch(c->titlebar.position)
{
default: