From 7462b44e37d2f3a6c789ff814a7e555f86d2d853 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 16 Mar 2008 11:07:59 +0100 Subject: [PATCH] Do nothing if no titlebar.sw --- titlebar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/titlebar.c b/titlebar.c index f8a37dc5..bce50445 100644 --- a/titlebar.c +++ b/titlebar.c @@ -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: